From 1675043dd1a83c68e6f16221e54983b34a04757b Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Thu, 22 May 2014 15:38:04 -0700 Subject: [PATCH] Add HXML files for 'final' build config --- script/src/RunScript.hx | 2 +- templates/android/hxml/final.hxml | 7 +++++++ templates/blackberry/hxml/final.hxml | 6 ++++++ templates/cpp/hxml/final.hxml | 5 +++++ templates/emscripten/hxml/final.hxml | 7 +++++++ templates/html5/hxml/final.hxml | 7 +++++++ templates/neko/hxml/final.hxml | 5 +++++ templates/tizen/hxml/final.hxml | 7 +++++++ templates/webos/hxml/final.hxml | 7 +++++++ 9 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 templates/android/hxml/final.hxml create mode 100644 templates/blackberry/hxml/final.hxml create mode 100644 templates/cpp/hxml/final.hxml create mode 100644 templates/emscripten/hxml/final.hxml create mode 100644 templates/html5/hxml/final.hxml create mode 100644 templates/neko/hxml/final.hxml create mode 100644 templates/tizen/hxml/final.hxml create mode 100644 templates/webos/hxml/final.hxml diff --git a/script/src/RunScript.hx b/script/src/RunScript.hx index 3bdadea15..fb7e97693 100644 --- a/script/src/RunScript.hx +++ b/script/src/RunScript.hx @@ -231,7 +231,7 @@ class RunScript { //only request the path from shared libs if it's required, //anything that doesn't use nme-dev would trip up on this otherwise - if(buildSharedLibs) { + if (buildSharedLibs) { sharedLibsPath = PathHelper.combine (PathHelper.getHaxelib (new Haxelib ("nme-dev"), buildSharedLibs), "project"); diff --git a/templates/android/hxml/final.hxml b/templates/android/hxml/final.hxml new file mode 100644 index 000000000..b8141827a --- /dev/null +++ b/templates/android/hxml/final.hxml @@ -0,0 +1,7 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/android/haxe +-cpp ::CPP_DIR:: +--macro keep("::APP_MAIN::") +-D android +-D android-9 +-D final diff --git a/templates/blackberry/hxml/final.hxml b/templates/blackberry/hxml/final.hxml new file mode 100644 index 000000000..25b078c48 --- /dev/null +++ b/templates/blackberry/hxml/final.hxml @@ -0,0 +1,6 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/blackberry/cpp/haxe +-cpp ::CPP_DIR:: +--macro keep("::APP_MAIN::") +-D blackberry +-D final \ No newline at end of file diff --git a/templates/cpp/hxml/final.hxml b/templates/cpp/hxml/final.hxml new file mode 100644 index 000000000..a42220b80 --- /dev/null +++ b/templates/cpp/hxml/final.hxml @@ -0,0 +1,5 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/cpp/haxe +-cpp ::CPP_DIR:: +--macro keep("::APP_MAIN::") +-D final diff --git a/templates/emscripten/hxml/final.hxml b/templates/emscripten/hxml/final.hxml new file mode 100644 index 000000000..5542dda0a --- /dev/null +++ b/templates/emscripten/hxml/final.hxml @@ -0,0 +1,7 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/emscripten/haxe +-cpp ::CPP_DIR:: +--macro keep("::APP_MAIN::") +-D emscripten +-D webgl +-D final \ No newline at end of file diff --git a/templates/html5/hxml/final.hxml b/templates/html5/hxml/final.hxml new file mode 100644 index 000000000..f1006e814 --- /dev/null +++ b/templates/html5/hxml/final.hxml @@ -0,0 +1,7 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-js ::OUTPUT_FILE:: +-cp ::OUTPUT_DIR::/haxe +-D html5 +-D html +--remap flash:lime +-D final \ No newline at end of file diff --git a/templates/neko/hxml/final.hxml b/templates/neko/hxml/final.hxml new file mode 100644 index 000000000..652d6a9a1 --- /dev/null +++ b/templates/neko/hxml/final.hxml @@ -0,0 +1,5 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/neko/haxe +-neko ::NEKO_FILE:: +--macro keep("::APP_MAIN::") +-D final \ No newline at end of file diff --git a/templates/tizen/hxml/final.hxml b/templates/tizen/hxml/final.hxml new file mode 100644 index 000000000..82978d0c5 --- /dev/null +++ b/templates/tizen/hxml/final.hxml @@ -0,0 +1,7 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/tizen/haxe +-cpp ::CPP_DIR:: +--macro keep("::APP_MAIN::") +-D tizen +-D no-compilation +-D final \ No newline at end of file diff --git a/templates/webos/hxml/final.hxml b/templates/webos/hxml/final.hxml new file mode 100644 index 000000000..145844a31 --- /dev/null +++ b/templates/webos/hxml/final.hxml @@ -0,0 +1,7 @@ +-main ApplicationMain ::HAXE_FLAGS:: +-cp ::BUILD_DIR::/webos/haxe +-cpp ::CPP_DIR:: +--macro keep("::APP_MAIN::") +-D webos +-D HXCPP_RTLD_LAZY +-D final \ No newline at end of file