[CMake] COMPILE_FLAGS property that appends instead of replaces

Robert Dailey rcdailey at gmail.com
Mon Feb 6 16:58:23 EST 2012


I would like to set the COMPILE_FLAGS property multiple times on the same
target through set_target_properties(), however only the last call seems to
persist. Previous flags set get overridden. Is this the correct behavior?
If so, is there a way to make this property append instead of replace on
the same target?

---------
Robert Dailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120206/d071c63e/attachment-0001.htm>


More information about the CMake mailing list