[CMake] defining preprocessor statements

Mark Wyszomierski markww at gmail.com
Sat Oct 20 11:25:17 EDT 2007


Hi,

How do we define a preprocessor statement - in win32 projects you
usually need to see the following in the C/C++ -> Preprocessor
statements section:

    _WIN32, _WINDOWS  ...etc....

so in the CMakeLists.txt, what syntax is used to put that into the
generated project files?

Thanks,
Mark


More information about the CMake mailing list