summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/tools/configure-makefiles.sh
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asmjit/tools/configure-makefiles.sh')
-rw-r--r--3rdparty/asmjit/tools/configure-makefiles.sh20
1 files changed, 8 insertions, 12 deletions
diff --git a/3rdparty/asmjit/tools/configure-makefiles.sh b/3rdparty/asmjit/tools/configure-makefiles.sh
index 8bf7ca90347..69503dc28ef 100644
--- a/3rdparty/asmjit/tools/configure-makefiles.sh
+++ b/3rdparty/asmjit/tools/configure-makefiles.sh
@@ -1,17 +1,13 @@
#!/bin/sh
-CURRENT_DIR=`pwd`
-BUILD_DIR="build"
+CURRENT_DIR="`pwd`"
+BUILD_DIR="${CURRENT_DIR}/../build"
BUILD_OPTIONS="-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DASMJIT_TEST=1"
-echo "** Configuring ${BUILD_DIR}_dbg [Debug Build] **"
-mkdir -p ../${BUILD_DIR}_dbg
-cd ../${BUILD_DIR}_dbg
-eval cmake .. -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS}
-cd ${CURRENT_DIR}
+echo "== [Configuring Build - Debug] =="
+eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Debug" -DCMAKE_BUILD_TYPE=Debug ${BUILD_OPTIONS}
+echo ""
-echo "** Configuring ${BUILD_DIR}_rel [Release Build] **"
-mkdir -p ../${BUILD_DIR}_rel
-cd ../${BUILD_DIR}_rel
-eval cmake .. -DCMAKE_BUILD_TYPE=Release ${BUILD_OPTIONS}
-cd ${CURRENT_DIR}
+echo "== [Configuring Build - Release] =="
+eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release" -DCMAKE_BUILD_TYPE=Release ${BUILD_OPTIONS}
+echo ""