[CMake] problem: using options other than -D with VS.NET
Bojan Resnik
resnikb at swissinfo.org
Sat Oct 16 14:14:15 EDT 2004
EvdW> -------- CMakeLists.txt --------
EvdW> PROJECT( test )
EvdW> ADD_DEFINITIONS( -DSOME_DEFINE=1 )
EvdW> ADD_DEFINITIONS( /Yu"test.h" )
EvdW> ADD_EXECUTABLE( test test.cpp )
EvdW> -------- end --------
A related question - are there any plans to explicitly support
generation and usage of precompiled headers for compilers that support
it? VC++ and Borland have this support, and I hear that the latest GCC
can work with precompiled headers, too.
Regards,
Bojan Resnik
More information about the CMake
mailing list