mirror of
https://github.com/italicsjenga/juce-cmake-toolchains.git
synced 2024-12-23 07:01:30 +11:00
only existing toolchains in build.sh
This commit is contained in:
parent
76cbb2c271
commit
0a2cb5f6e6
8
build.sh
8
build.sh
|
@ -1,6 +1,10 @@
|
|||
if [ -z $1 ]; then
|
||||
echo "No toolchain specified!"
|
||||
return
|
||||
exit
|
||||
fi
|
||||
if [ ! -f toolchain-$1.cmake ]; then
|
||||
echo "file doesntnt exist!"
|
||||
exit
|
||||
fi
|
||||
cd source
|
||||
cmake -B cmake-build-install-$1 -DCMAKE_INSTALL_PREFIX=../$1 -DCMAKE_TOOLCHAIN_FILE=../toolchain-$1.cmake && cmake --build cmake-build-install-$1 --target install
|
||||
cmake -B build-install-$1 -DCMAKE_INSTALL_PREFIX=../$1 -DCMAKE_TOOLCHAIN_FILE=../toolchain-$1.cmake && echo "--- Finished configuring ---" && cmake --build build-install-$1 --target install
|
||||
|
|
Loading…
Reference in a new issue