On May 7, 2011, at 10:07 AM, jtwadsworth wrote:

> 
> Michael Jackson wrote:
>> 
>> If it is a true OS X native app then you will want to look at
>> "BundleUtilities" in CMake to build the app bundle. If it is an X11
>> wrapper that you want then there is an x11 packaging target that you
>> can use. Both are covered in the documentation.
>> 
> 
> Which would it be considered?  It is definitely not a native OSX app as it
> is compiled across all Unixes.  I just need it to run from an .app with its
> own window rather than in terminal.
> 
> jtw
> 
> --

cpack --help shows this as a possibility:

OSXX11                      = Mac OSX X11 bundle

So in your CPack code in your CMakeLists.txt file you would need to set 
something like this:

if (APPLE)

SET(CPACK_BINARY_OSXX11 "ON")

endif()

I know there is a bunch of other setup stuff that needs to be done. Take a look 
at 
<href="http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#OSXX11_.28OSX_only.29";>
 for more details on what you want to do.

Mike Jackson
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to