summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/tools/configure-xcode.sh
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2022-02-11 17:16:46 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2022-02-13 21:26:55 +0700
commit1fba2b4f2c27a2f4162855056f9765ee79db31e9 (patch)
treef98b63565a8b12895b0bb057c0790b88b11a7b2e /3rdparty/asmjit/tools/configure-xcode.sh
parent3a7e08d47d4e1b0e075360e19be1763d9b29f557 (diff)
asmjit: sync with upstream
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}