[CMake] undefining preprocessor macros

Alexander Neundorf a.neundorf-work at gmx.net
Thu Sep 30 15:31:57 EDT 2010


On Thursday 30 September 2010, Ryan Pavlik wrote:
>   Either add it to your COMPILE_FLAGS, or create/configure a header file
> with #undef lines.

There is also the cmake command remove_definitions()

Alex


More information about the CMake mailing list