Files @ r24245:1e4a8434fc12
Branch filter:

Location: cpp/openttd-patchpack/source/os/macosx/launch.sh

Patric Stout
Add: create bundles via CPack

CPack works closely together with CMake to do the right thing in
terms of bundling (called 'package'). This generates all the
packaging we need, and some more.
1
2
3
4
5
6
7
8
#!/bin/sh

ROOT_DIR=$(dirname "$0")/..

export DYLD_LIBRARY_PATH=${ROOT_DIR}/Frameworks

cd ${ROOT_DIR}/Resources
exec ./openttd "$@"