mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 04:54:36 +03:00
[ABI] Build improvements - replaced ASMJIT_BUIlD_X86 with ASMJIT_NO_X86 and other changes...
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
#!/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] =="
|
||||
mkdir -p "${BUILD_DIR}/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] =="
|
||||
mkdir -p "${BUILD_DIR}/Release"
|
||||
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release" -DCMAKE_BUILD_TYPE=Release ${BUILD_OPTIONS}
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user