[CMake] CMake/CPack and MacOSX

Eric Noulard eric.noulard at gmail.com
Wed Apr 9 05:02:25 EDT 2008


2008/4/9, Alin M Elena <alin.elena at qub.ac.uk>:
> Hi,
>
>  I have some questions about the cmake/cpack/macosx.
>  I have read the manual of cpack/cmake +
>  http://www.cmake.org/pipermail/cmake/2007-October/016890.html
>  and I am still a little bit confused.
>  The things are a little bit more complicated since I do not have access to a
>  macOSX and somebody else runs the script.
>
>  From the maillist I found out that you can generate .dmg packages and .app
>  In the documentation of cpack 2.6 I could not see such features (Generators
>  lists)
>  http://www.cmake.org/HTML/cpack-2.6.html
>  What do I miss?

The doc may not be up2date  :)
(or comes from a non-mac platform)

If your compiled CMake CVS from source you could run

cpack --help

and you will get the list of supported generators.

Note that you will only see the generator SUPPORTED on your SPECIFIC platform.
My linux box gives:
Generators
  DEB                         = Debian packages
  NSIS                        = Null Soft Installer
  RPM                         = RPM packages
  STGZ                        = Self extracting Tar GZip compression
  TBZ2                        = Tar BZip2 compression
  TGZ                         = Tar GZip compression
  TZ                          = Tar Compress compression
  ZIP                         = ZIP file format

That is I cannot build a "Mac" package on my linux box.

>  What is the minimum version of cmake that supports mac packages?
>  Are there other hidden dangers when you create a package for mac?

I let Mac expert answer this.

-- 
Erk


More information about the CMake mailing list