summaryrefslogtreecommitdiff
path: root/distribution/osx/gtk-bundle/CMakeLists.txt
blob: 4aa115036f008757a56fcdce3e40394bfecc2255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)