[CMake] generator expression for set_target_properties
Lloyd
lloydkl.tech at gmail.com
Thu Dec 3 01:32:03 EST 2015
Hi,
We have a cmake file for Qt project. We want to hide the console from
release build. For that we are using
ADD_EXECUTABLE(myexec ${MYEXEC_SRC} )
SET_TARGET_PROPERTIES(myexec PROPERTIES WIN32_EXECUTABLE true)
Is it possible for me to set this property only for the release build?
I am using cmake 2.8, Windows 7, VS 2013
Thanks,
Lloyd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151203/9dc972e5/attachment.html>
More information about the CMake
mailing list