[CMake] Excluding definitions for source files

Robert Bielik robert.bielik at xponaut.se
Thu May 19 01:55:21 EDT 2011


Hi,

CMake 2.8.4 , MSVC generators:

I have a problem where I need to be able to select Unicode build or not, but at the same time 3 files of my project MUST NOT have
Unicode enabled. Is there a way to remove compile definitions for certain source files ?

TIA
/Rob


More information about the CMake mailing list