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