[CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
Hello Right now the CXX preprocessor defines are also used as the preprocessor defines for the resource compiler (rc). Is there a way of changing that behavior? We are using different preprocessor defines for cl and rc. And sometimes we even connot use the cxx flags for the rc compiler... Any

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Andreas Pakulat
On 18.01.11 14:11:15, Sören Freudiger wrote: Hello Right now the CXX preprocessor defines are also used as the preprocessor defines for the resource compiler (rc). Is there a way of changing that behavior? We are using different preprocessor defines for cl and rc. And sometimes we even

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
Pakulat ap...@gmx.de An: cmake@cmake.org Betreff: Re: [CMake] VS resource compiler preprocessor defines On 18.01.11 14:11:15, Sören Freudiger wrote: Hello Right now the CXX preprocessor defines are also used as the preprocessor defines for the resource compiler (rc). Is there a way

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Andreas Pakulat
On 18.01.11 15:01:13, Sören Freudiger wrote: hmm.. okay. That means I have to set the target properties for the cxx files like this: add_executable( ${MY_PROJECT} WIN32 ${SOURCE_FILES} ) set_target_properties( ${MY_PROJECT} PROPERTIES COMPILE_DEFINITIONS ${MY_CXX_PRE_DEFS}) with

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
17:24:57 +0100 Von: Andreas Pakulat ap...@gmx.de An: cmake@cmake.org Betreff: Re: [CMake] VS resource compiler preprocessor defines On 18.01.11 15:01:13, Sören Freudiger wrote: hmm.. okay. That means I have to set the target properties for the cxx files like this: add_executable