[CMake] cpack: Bundle vs DragNDrop vs OSXX11 vs PackageMaker

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Jan 11 11:11:50 EST 2012


[Happy New Year 2012 !]

Hi all,

  I am trying to release openjpeg 1.5. To distribute binary package of
this software on MacOSX, I am starring at the cpack documentation.
  I am not a MacOSX user, so could someone please point me to the
documentation for the differences in between the
Bundle/DragNDrop/OSXX11 & PackageMaker generators ?
  openjpeg simply ships command line tools, so all I would need is
something simple where the executable can find the dylib from a
relative path. Right now, I have for the DragNDrop generator:

$ otool -L "_CPack_Packages/Darwin/DragNDrop/OPENJPEG-1.5.0-Darwin/ALL_IN_ONE/bin/j2k_dump"
_CPack_Packages/Darwin/DragNDrop/OPENJPEG-1.5.0-Darwin/ALL_IN_ONE/bin/j2k_dump:
        libopenjpeg.1.dylib (compatibility version 1.0.0, current version 1.5.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.3.9)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)

while libopenjpeg.1.dylib is in ../lib relative to j2k_dump

thanks much,
-- 
Mathieu


More information about the CMake mailing list