On Tuesday, August 07, 2012 13:45:37 J Decker wrote:
> which means revisiting each and every project that generates an
> exectuable.... could even make a add_program macro or something that
> would handle it.

Since CMake 2.8.8 you can set the variable CMAKE_WIN32_EXECUTABLE to set the 
default value you want for the WIN32_EXECUTABLE property.

http://www.cmake.org/cmake/help/v2.8.8/cmake.html#variable:CMAKE_WIN32_EXECUTABLE

There is a similar property for MACOSX_BUNDLE targets.

http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/2920

Thanks,

-- 
Stephen Kelly <[email protected]> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to