[CMake] Visual C++ 2010 generator & resource files
Bill Hoffman
bill.hoffman at kitware.com
Mon Oct 11 11:25:24 EDT 2010
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
More information about the CMake
mailing list