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.
Thanks,
-Brad
--
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