mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
bring back config_cmake
This commit is contained in:
parent
f822ff7659
commit
8c45136be6
1 changed files with 16 additions and 0 deletions
16
ci/config_cmake.sh
Executable file
16
ci/config_cmake.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
ROOT=$(cd "$(dirname "$0")/.."; pwd)
|
||||
cd "$ROOT"
|
||||
|
||||
export PATH=$PATH:"/c/Program Files/CMake/bin"
|
||||
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
TOOLCHAIN="xcode"
|
||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||
TOOLCHAIN="ninja-gcc"
|
||||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
||||
TOOLCHAIN="vs"
|
||||
fi
|
||||
|
||||
cmake --preset $TOOLCHAIN -D BUILD_EXTRAS=OFF -D JUCE_COPY_PLUGIN_AFTER_BUILD=ON
|
||||
Loading…
Add table
Add a link
Reference in a new issue