[CMake] installing osx bundles

Tim Blechmann tim at klingt.org
Wed Jul 9 06:47:25 EDT 2014


hi all,

i'm having some troubles, trying to install osx bundles:

app bundles:
installing an app bundle target (created with MACOSX_BUNDLE and property
BUNDLE=1) will install (a) the bundle and (b) the executable (which is
usually found in Contents/MacOS). in a way, i'd only expect the bundle
to be installed, not the executable.


library bundles:
library bundles (created with MODULE and property BUNDLE=1) are not
installed at all. how can i install them?

i'm installing all targets via:

install(TARGETS MyApp MyModule
  DESTINATION .
)

thnx,
tim



More information about the CMake mailing list