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
_______________________________________________ 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