juce-cmake-toolchains/build.sh
2022-07-22 13:30:53 +10:00

7 lines
235 B
Bash
Executable file

if [ -z $1 ]; then
echo "No toolchain specified!"
return
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