add_requires的时候是否可以添加cxflags而不覆盖 #6150
heheda123123
started this conversation in
General
Replies: 1 comment
-
通常不会覆盖,但这个要看对方库的 cmakelists.txt 配置了,目前是通过 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在target里面可以
add_defines("PCPP_ACTIVE_LOG_LEVEL=0")
添加宏定义如果想让依赖构建的时候也添加宏定义貌似可以这样写
但是这样把原来的cxflags都给覆盖了,如果添加而不覆盖?
或者满足我原本的需求,直接添加宏定义
Beta Was this translation helpful? Give feedback.
All reactions