Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
for rc files. What's the problem? Original-Nachricht > Datum: Tue, 18 Jan 2011 17:24:57 +0100 > Von: Andreas Pakulat > An: cmake@cmake.org > Betreff: Re: [CMake] VS resource compiler preprocessor defines > On 18.01.11 15:01:13, "Sören Fr

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}) >

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Sören Freudiger
00 > Von: Andreas Pakulat > 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

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 ev

[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 i