[CMake] undefining preprocessor macros

Steven Wilson steven.wesley.wilson at gmail.com
Thu Sep 30 14:18:32 EDT 2010


Using set_target_properties() we can set the COMPILE_DEFINITIONS target
property to easily define preprocessor macros for our build.   Is there a
mechanism to undefine preprocessor macros (equivalent to -U for many Unix
compilers or /U for Microsoft's compilers)?

Thanks,

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100930/f11f3c07/attachment.htm>


More information about the CMake mailing list