On 06/01/2011 09:27 PM, Benjamin Peterson wrote: > Michael Wild <themiwi@...> writes: > >> Yes, it is considered to be bad practice. If you want the same behavior, >> though, use set_directory_properties(). > > But there's no COMPILE_FLAGS property on directories, is there? >
Ooops, sorry. Just append to the CMAKE_<LANG>_FLAGS variable. Remember, that this one is space-separated. Michael _______________________________________________ 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