[cmake-developers] Making GUI applications by default

Stephen Kelly steveire at gmail.com
Mon Mar 5 09:42:11 EST 2012


Brad King wrote:

> On 3/4/2012 5:29 PM, Stephen Kelly wrote:
>> I happened to read a little bit about CPack recently
>>
>> http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#Overview
>>
>> The recommendation is to not use MACOSX_BUNDLE when using cpack, so I
>> thought maybe that makes it different enough to WIN32_EXECUTABLE that
>> they should be different CMAKE_ properties.
>>
>> set(CMAKE_WIN32_EXECUTABLE ON)
>> set(CMAKE_MACOSX_BUNDLE ON)
>>
>> That would also mean that I can actually submit the patch. I'm not so
>> keen on having to change every generator instead. Actually I think the
>> existing patch is better than touching every generator anyway (that's at
>> least in part why there is an abstraction).
> 
> That's an argument to not have a generalized property name at all,
> so just SetPropertyDefault for WIN32_EXECUTABLE and MACOSX_BUNDLE
> would be sufficient.

Ok. I have pushed win32_executable-and-macosx_bundle-initializers to stage. 
Can I go ahead and merge that to next?

Thanks,

Steve.





More information about the cmake-developers mailing list