Skip to content

Commit 8c45136

Browse files
committed
bring back config_cmake
1 parent f822ff7 commit 8c45136

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

ci/config_cmake.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash -e
2+
3+
ROOT=$(cd "$(dirname "$0")/.."; pwd)
4+
cd "$ROOT"
5+
6+
export PATH=$PATH:"/c/Program Files/CMake/bin"
7+
8+
if [ "$(uname)" == "Darwin" ]; then
9+
TOOLCHAIN="xcode"
10+
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
11+
TOOLCHAIN="ninja-gcc"
12+
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
13+
TOOLCHAIN="vs"
14+
fi
15+
16+
cmake --preset $TOOLCHAIN -D BUILD_EXTRAS=OFF -D JUCE_COPY_PLUGIN_AFTER_BUILD=ON

0 commit comments

Comments
 (0)