So I have the same problem as the person in this old thread: http://www.cmake.org/pipermail/cmake/2009-August/031671.html
I want to add some compile flags (currently using add_definitions) but they mess up the rc.exe resource compiler. Doing something like: set_source_files_properties(hipchat.rc PROPERTIES COMPILE_DEFINITIONS "") set_source_files_properties(hipchat.rc PROPERTIES COMPILE_FLAGS "") doesn't work, I guess set_source_file_properties is only appending. setting CMAKE_CXX_FLAGS didn't seem to work at all.
-- 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
