[CMake] rc compile options in visual studio

Jon W knowdat at gmail.com
Tue Jul 17 13:52:06 EDT 2007


When using visual studio, the resource compile options are updated
with the cxx preprocessor definitions and the cxx include paths.

How can I remove all of the cxx preprocessor/include definitions and
redefine the options?  I haven't had any luck trying to reset the
options such as:

set(CMAKE_RC_FLAGS "" CACHE STRING "Resetting" FORCE)
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS "rc rc2" CACHE STRING "Resetting" FORCE)
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <CMAKE_RC_FLAGS>
/fo<OBJECT> <SOURCE>" CACHE STRING "Resetting the rc options." FORCE)


Any ideas?

Thank you,
Jon


More information about the CMake mailing list