[CMake] OSX Bundling

jtwadsworth jtwadsworth at gmail.com
Sat May 7 12:07:33 EDT 2011


Michael Jackson wrote:
> 
> 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.
> 

Thanks.  I'm studying the link; I'd rather it not be an X11 wrapper if
possible.  Does all this go in the toplevel CMakeLists.txt or further down
the tree?  Forgive my lack of knowledge; I'm reading as much as I can on it
and not familiar with cmake at all...getting better slowly

jtw

--
View this message in context: http://cmake.3232098.n2.nabble.com/OSX-Bundling-tp6339477p6340345.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list