summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/tools/configure-xcode.sh
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asmjit/tools/configure-xcode.sh')
-rw-r--r--3rdparty/asmjit/tools/configure-xcode.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/3rdparty/asmjit/tools/configure-xcode.sh b/3rdparty/asmjit/tools/configure-xcode.sh
index a52c9efa0a4..d9c7d983d75 100644
--- a/3rdparty/asmjit/tools/configure-xcode.sh
+++ b/3rdparty/asmjit/tools/configure-xcode.sh
@@ -1,9 +1,8 @@
#!/bin/sh
-BUILD_DIR="build_xcode"
-CURRENT_DIR=`pwd`
+CURRENT_DIR="`pwd`"
+BUILD_DIR="${CURRENT_DIR}/../build"
+BUILD_OPTIONS="-G Xcode -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DASMJIT_TEST=1"
-mkdir -p ../${BUILD_DIR}
-cd ../${BUILD_DIR}
-cmake .. -G"Xcode" -DASMJIT_TEST=1
-cd ${CURRENT_DIR}
+mkdir -p "${BUILD_DIR}"
+eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}" ${BUILD_OPTIONS}