[CMake] COMPILE_FLAGS_<CONFIG>

Steven Wilson steven.wesley.wilson at gmail.com
Tue Oct 20 11:28:19 EDT 2009


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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091020/90bce9d4/attachment-0001.htm>


More information about the CMake mailing list