Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdeng2: Imported the Kitchen Sink scripting test from Hawthorn
Added a source subdirectory for small test apps. The "script" test will run through the kitchen_sink.de script that aims to test (and demonstrate) all of the language's features.
- Loading branch information
Showing
7 changed files
with
775 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ SUBDIRS = \ | |
build \ | ||
libdeng2 libdeng \ | ||
engine plugins host \ | ||
tests \ | ||
postbuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
include(../config.pri) | ||
include(../dep_deng2.pri) | ||
|
||
macx { | ||
defineTest(macDeployTest) { | ||
# Arg 1: target name (without .app) | ||
fwDir = \"$${OUT_PWD}/$${1}.app/Contents/Frameworks/\" | ||
doPostLink("rm -rf $$fwDir") | ||
doPostLink("mkdir $$fwDir") | ||
doPostLink("cp -fRp $$OUT_PWD/../../libdeng2/libdeng2*dylib $$fwDir") | ||
|
||
# Fix the dynamic linker paths so they point to ../Frameworks/ inside the bundle. | ||
fixInstallName($${1}.app/Contents/MacOS/$${1}, libdeng2.2.dylib, ..) | ||
} | ||
} |
Oops, something went wrong.