Skip to content

Commit cdc52b8

Browse files
committed
config cmake
1 parent 8704761 commit cdc52b8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

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)