Hi there,

Also in this thread one of the discussion topics was making CMake default to 
creating Gui-ready executables. That is, setting the WIN32_EXECUTABLE or  
MACOSX_BUNDLE property on the executable target.

http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/6961/focus=7005

By default CMake does not set those properties, which is actually uncommon. 
Generally in KDE at least, only unit tests and some small utilities are non-
gui executables.

We'd like to be able to specify with a defaultProperty something like

set(CMAKE_CREATE_GUI_EXECUTABLES ON)

which would set those target properties to True on the Windows and Mac 
platforms by default. For unit tests, we could then disable it again.

Thoughts/comments?

Thanks,

Steve.


--

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