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