[CMake] Add a compiler switch to a a specific configuration

2006-07-11 Thread Sagnes, Frederic
Hello, I'm using the STLport library on several targets on my project, and need to define the _STLP_DEBUG flag on the debug configuration of each target. I looked at : SET_TARGET_PROPERTIES ( PROPERTIES COMPILE_FLAGS -D_STLP_DEBUG ) ... but it doesn't seem to be able to specify a switch for a s

Re: [CMake] Add a compiler switch to a a specific configuration

2006-07-11 Thread Jan Woetzel
Sagnes, Frederic wrote: Hello, I'm using the STLport library on several targets on my project, and need to define the _STLP_DEBUG flag on the debug configuration of each target. I looked at : SET_TARGET_PROPERTIES ( PROPERTIES COMPILE_FLAGS -D_STLP_DEBUG ) ... but it doesn't seem to be able

Re: [CMake] Add a compiler switch to a a specific configuration

2006-07-11 Thread Brad King
Sagnes, Frederic wrote: Hello, I'm using the STLport library on several targets on my project, and need to define the _STLP_DEBUG flag on the debug configuration of each target. I looked at : SET_TARGET_PROPERTIES ( PROPERTIES COMPILE_FLAGS -D_STLP_DEBUG ) ... but it doesn't seem to be able t