diff options
Diffstat (limited to 'distribution/osx/gtk-bundle/CMakeLists.txt')
-rw-r--r-- | distribution/osx/gtk-bundle/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/distribution/osx/gtk-bundle/CMakeLists.txt b/distribution/osx/gtk-bundle/CMakeLists.txt new file mode 100644 index 0000000..4aa1150 --- /dev/null +++ b/distribution/osx/gtk-bundle/CMakeLists.txt @@ -0,0 +1,20 @@ +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Info-xtrkcad.plist.in ${CMAKE_CURRENT_BINARY_DIR}/info-xtrkcad.plist @ONLY) + +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/xtrkcad-template.dmg.zip ${CMAKE_CURRENT_BINARY_DIR}/xtrkcad-template-dmg.zip COPYONLY) + +FILE(MAKE_DIRECTORY share) +FILE(MAKE_DIRECTORY bin) + +INSTALL ( +FILES ${CMAKE_CURRENT_BINARY_DIR}/info-xtrkcad.plist +DESTINATION ${XTRKCAD_SHARE_INSTALL_DIR}/XTrackCAD.help +) +INSTALL ( +FILES ${CMAKE_CURRENT_SOURCE_DIR}/toc.js +DESTINATION ${XTRKCAD_SHARE_INSTALL_DIR}/XTrackCAD.help/Contents/Resources/en.lproj +) + +ADD_SUBDIRECTORY(XTrackCAD-help) + + + |