summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/tools/configure-ninja.sh
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asmjit/tools/configure-ninja.sh')
-rwxr-xr-x3rdparty/asmjit/tools/configure-ninja.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/3rdparty/asmjit/tools/configure-ninja.sh b/3rdparty/asmjit/tools/configure-ninja.sh
new file mode 100755
index 00000000000..84808d24363
--- /dev/null
+++ b/3rdparty/asmjit/tools/configure-ninja.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+CURRENT_DIR="`pwd`"
+BUILD_DIR="${CURRENT_DIR}/../build"
+BUILD_OPTIONS="-G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DASMJIT_TEST=1"
+
+echo "== [Configuring Build - Debug] =="
+eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Debug" -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS}
+echo ""
+
+echo "== [Configuring Build - Release] =="
+eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release" -DCMAKE_BUILD_TYPE=Release ${BUILD_OPTIONS}
+echo ""