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.
有没有办法ENABLE_PREPROCESSING = NO在确保仍然包含宏文档的同时进行设置?
ENABLE_PREPROCESSING = NO
例如,它很容易设置PREDEFINED = __cplusplus,但我宁愿不必为#defineDoxygen 可能未预定义的每一个(即__GNUC__等)都这样做。
PREDEFINED = __cplusplus
#define
__GNUC__