[CMake] Visual C++ 2010 generator & resource files

Dimitri Kaparis kaparis.dimitri at gmail.com
Sat Oct 16 13:50:55 EDT 2010


On Mon, Oct 11, 2010 at 6:25 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> 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

Okay, done: http://public.kitware.com/Bug/view.php?id=11324


More information about the CMake mailing list