diff options
Diffstat (limited to 'distribution/osx/bundle/CMakeLists.txt')
-rw-r--r-- | distribution/osx/bundle/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/distribution/osx/bundle/CMakeLists.txt b/distribution/osx/bundle/CMakeLists.txt new file mode 100644 index 0000000..65f30dd --- /dev/null +++ b/distribution/osx/bundle/CMakeLists.txt @@ -0,0 +1,13 @@ +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in ${CMAKE_CURRENT_BINARY_DIR}/Info.plist @ONLY) + +SET(CPACK_GENERATOR "Bundle") +SET(CPACK_BUNDLE_ICON "${XTrkCAD_SOURCE_DIR}/app/lib/icon.icns") +SET(CPACK_BUNDLE_NAME "XTrackCAD") +SET(CPACK_BUNDLE_PLIST "${CMAKE_CURRENT_BINARY_DIR}/Info.plist") +SET(CPACK_BUNDLE_STARTUP_COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/xtrackcad-startup") +SET(CPACK_INSTALL_CMAKE_PROJECTS "${XTrkCAD_BINARY_DIR};xtrkcad;ALL;/") +SET(CPACK_PACKAGE_FILE_NAME "xtrkcad-setup-${XTRKCAD_VERSION}-${CMAKE_SYSTEM_PROCESSOR}") +SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/volume.icns") + +INCLUDE(CPack) + |