[CMake] Syntax of set_target_properties
Timo Rumland
cr at olympclan.de
Mon Nov 20 05:19:33 EST 2006
Hallo,
I can't figure out what's wrong with my set_target_properties syntax.
My target is "test" and I want to add two compiler options (defines),
-DTEST and -DDIR="./".
I tried the following:
set_target_properties( test PROPERTIES
COMPILE_FLAGS -DTEST
COMPILE_FLAGS -DDIR="./" )
But then only -DDIR="./" is added to my VS project.
Any idea why?
Thanks a lot
More information about the CMake
mailing list