[CMake] Setting COMPILE_FLAGS property on a target in only debug?
Robert Dailey
rcdailey.lists at gmail.com
Fri May 4 16:16:47 EDT 2012
I'm doing the following:
set_property( TARGET ${target_name} APPEND_STRING PROPERTY
COMPILE_FLAGS "/ZI /Gy "
)
However this applies to all configurations. I want to only set this
compiler flag for debug builds, not release. How can I do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120504/d8c2aadd/attachment.htm>
More information about the CMake
mailing list