Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
它可以在构建设置中找到。
例如,以下有什么区别:
在其他 c 标志中定义 -DDEBUG
和
在预处理器 Marcos 中定义 -DDEBUG
谢谢
preprocessor macros构建设置用于设置预处理器宏的初始值。
preprocessor macros
Example value: test_mode=1 copious_logging=1
Other C Flags构建设置用于向编译器发送任意标志。
Other C Flags
Example value: -dM