On 10/9/2010 8:25 AM, Dimitri Kaparis wrote:
Greetings,
Using CMake 2.8.2. The Visual C++ 2008 generator applies preprocessor
definitions to the resource files in the project (the "preprocessor
definitions" property in the "Resources" section of the project
contains , e.g. the macros added with "add_definitions"). With the
Visual C++ 2010 generator, however this is no longer the case - added
definitions are not applied to resource compilation. It doesn't work
to explicitly add the definitions to the resource file with
set_source_file_properties, either.
Is it a bug with the VC++ 2010 generator? Any workarounds?
Can you create a bug report? Sounds like a missing feature.
-Bill
_______________________________________________
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