9790c04868
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7179 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: f992b78bd5e4aae50457fbd9575e917eda8bcf31 Former-commit-id: d215b7d6f3325cd4fa0c1e463c4489978f22b3bf
36 lines
1 KiB
CMake
36 lines
1 KiB
CMake
#==============================================================================
|
|
#
|
|
# Generated Script file for creating the the base app bundle
|
|
# Apple only
|
|
#
|
|
#==============================================================================
|
|
|
|
# Create the base.app
|
|
|
|
message(STATUS "Creating @SD_BASE_BUNDLE_NAME@ bundle...")
|
|
|
|
file(COPY "@CMAKE_INSTALL_PREFIX@/"
|
|
DESTINATION "@SD_BASE_BUNDLE_NAME@"
|
|
PATTERN "@SD_DATADIR@/tracks/*" EXCLUDE
|
|
PATTERN "@SD_DATADIR@/cars/models/*" EXCLUDE)
|
|
|
|
|
|
file(GLOB SC_CARS
|
|
LIST_DIRECTORIES TRUE
|
|
"@CMAKE_INSTALL_PREFIX@/@SD_DATADIR@/cars/models/sc-*")
|
|
|
|
foreach(_CAR ${SC_CARS})
|
|
#message(STATUS "_CAR = ${_CAR}")
|
|
file(COPY "${_CAR}"
|
|
DESTINATION "@SD_BASE_BUNDLE_NAME@/@SD_DATADIR@/cars/models")
|
|
endforeach()
|
|
|
|
file(GLOB SC_TRACKS
|
|
LIST_DIRECTORIES TRUE
|
|
"@CMAKE_INSTALL_PREFIX@/@SD_DATADIR@/tracks/circuit/espie")
|
|
|
|
foreach(_TRACK ${SC_TRACKS})
|
|
#message(STATUS "_TRACK = ${_TRACK}")
|
|
file(COPY "${_TRACK}"
|
|
DESTINATION "@SD_BASE_BUNDLE_NAME@/@SD_DATADIR@/tracks/circuit")
|
|
endforeach()
|