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.

Mike Jackson
Www.bluequartz.net

On Saturday, May 7, 2011, jtwadsworth <jtwadswo...@gmail.com> wrote:
> I'm new to CMake and struggling to understand OSX building.
>
> I have a source code that used to install as an OSX .app just fine with make
> and its Makefile.osx.  The maintainer has now switched to CMake but does not
> know how to write the CMakeLists.txt to achieve the same goal that
> Makefile.osx used to for this source.
>
> The source currently compiles just fine into an executable that runs fine in
> X11/terminal on my OSX machine, but it's really not elegant or as good as
> the original OSX builds were.
>
> I've read the docs for CMake and still struggling to know where to start.
> The current toplevel CMakeLists.txt has no OSX build support, but is fine
> for Windows, Linux, Unix in terminal.
>
> Any guidance would be appreciated from the gurus here.
>
> jtw
>
>
> --
> View this message in context: 
> http://cmake.3232098.n2.nabble.com/OSX-Bundling-tp6339477p6339477.html
> Sent from the CMake mailing list archive at Nabble.com.
> _______________________________________________
> 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
>

-- 
_________________________________________________________
Mike Jackson                  mike.jack...@bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio
_______________________________________________
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