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 connot use the cxx flags for the rc compiler...
> 
> Any idea?

If you don't use add_definitions, but instead use set_target_properties
with COMPILE_DEFINITIONS and set_source_properties then you should be able
to set completely different defines for the .rc source files than the rest
of the same target.

Andreas

-- 
Never look up when dragons fly overhead.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to