[CMake] CMAKE_RC_FLAGS

James Bigler jamesbigler at gmail.com
Tue Jan 26 19:35:10 EST 2010


Do the CMAKE_RC_FLAGS do anything?

I've tried these methods to pass this flag to the rc.exe compiler without
success:

set(CMAKE_RC_FLAGS "-DMY_VERSION" CACHE STRING "Flags for RC compiler"
FORCE)
set(CMAKE_RC_FLAGS "/DMY_VERSION" CACHE STRING "Flags for RC compiler"
FORCE)
set(CMAKE_RC_FLAGS "/D MY_VERSION" CACHE STRING "Flags for RC compiler"
FORCE)
set(CMAKE_RC_FLAGS "-D MY_VERSION" CACHE STRING "Flags for RC compiler"
FORCE)

I'm using CMake 2.6.4 on XP64 with VS 2008 generating a 32 bit executable.

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100126/ae49f32a/attachment.htm>


More information about the CMake mailing list