[CMake] Excluding definitions for source files
Robert Bielik
robert.bielik at xponaut.se
Thu May 19 01:57:49 EDT 2011
Robert Bielik skrev 2011-05-19 07:55:
> 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 ?
Oh, and I cannot extract those 3 files into a separate static library as my project _is_ a static library that should have no extra
dependencies as viewed from including apps.
/Rob
More information about the CMake
mailing list