[CMake] Setting CMAKE_CXX_FLAGS..., CMAKE_C_FLAGS... and CMAKE_C_STANDARD_LIBRARIES_INIT and friends on a per target basis
Brian Davis
bitminer at gmail.com
Wed Aug 18 16:47:35 EDT 2010
CMAKE_CXX_FLAGS..., CMAKE_C_FLAGS... and CMAKE_C_STANDARD_LIBRARIES_INIT and
friends are seemingly global variables. Is there a way to override (all of)
these on a per target basis? A method which is not tied to the directory
(properties). One that does not simply append such as COMPILE_FLAGS, but
blasts away and makes it what I specify? Basically all the goop in
Windows-icl.cmake, Windows-cl.cmake, etc. Possibly involving
set_target_properties?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100818/a0270760/attachment.htm>
More information about the CMake
mailing list