I am asking why CMake doesn't support the following:
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_<CONFIG>
"-fmyflag")
Would set_target_properties() work? Then you can do something like:
>
> set_target_properties( ${TARGET} PROPERTIES COMPILE_FLAGS "-fmyflag" )
>
> to set compile flags on a target by target basis.
>
_______________________________________________
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