2020-03-08 22:47:26 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
|
|
mkdir -p build/${INSTALL_DIR} && cd build
|
2020-03-14 17:42:26 +01:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
|
|
|
-DSFIZZ_VST=ON \
|
2020-05-13 08:38:11 -07:00
|
|
|
-DSFIZZ_AU=ON \
|
2020-03-14 17:42:26 +01:00
|
|
|
-DSFIZZ_TESTS=OFF \
|
2020-06-13 22:09:58 +02:00
|
|
|
-DCMAKE_CXX_STANDARD=14 \
|
2020-04-18 06:30:44 +02:00
|
|
|
-DLV2PLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/LV2 \
|
|
|
|
|
-DVSTPLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/VST3 \
|
2020-05-13 08:38:11 -07:00
|
|
|
-DAUPLUGIN_INSTALL_DIR=/Library/Audio/Plug-Ins/Components \
|
2020-03-14 17:42:26 +01:00
|
|
|
..
|
2020-03-08 22:47:26 +01:00
|
|
|
make -j$(sysctl -n hw.ncpu)
|
|
|
|
|
# Xcode not currently supported, see https://gitlab.kitware.com/cmake/cmake/issues/18088
|
|
|
|
|
# xcodebuild -project sfizz.xcodeproj -alltargets -configuration Debug build
|