This is also related to this bug:
http://public.kitware.com/Bug/view.php?id=10194
The only way I worked around not being able to set RC flags for preprocessor
items was to use configure_file with a header that was included by all of my
.rc files.
James
On Mon, Mar 8, 2010 at 11:49 AM, David Cole
It sounds like you may have re-discovered this bug in a slightly different
form:
http://public.kitware.com/Bug/view.php?id=8165
The "correct" fix for both would be generic enough to properly quote any /D
args as needed for the rc compiler, the midl compiler and the C++ compiler.
However, this iss
Setting a value into the CMAKE_RC_FLAGS field in the CMakeCache.txt file has no
effect.
I am using the Visual Studio 2005 generator, although I have seen this also
reported against VS2009. I am using cmake 2.8 (from source with the midl
quoting patch applied)
Instead of obeying _RC_FLAGS, any