aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-03-17 10:37:39 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-03-17 10:39:18 +0100
commit285ae3a610403bd1eca803decc935f32a40e1844 (patch)
treed86e549fc71ff15de5d2a3ef66488f06cd21179a
parentbf362f12d41ab37567ae9342121e62c854cfabc8 (diff)
downloadmoony.lv2-285ae3a610403bd1eca803decc935f32a40e1844.tar.xz
add darwin release target.
-rw-r--r--cmake/multiarch-darwin.cmake4
-rwxr-xr-xrelease.sh2
2 files changed, 6 insertions, 0 deletions
diff --git a/cmake/multiarch-darwin.cmake b/cmake/multiarch-darwin.cmake
new file mode 100644
index 0000000..52b54b8
--- /dev/null
+++ b/cmake/multiarch-darwin.cmake
@@ -0,0 +1,4 @@
+# the name of the target operating system
+set(CMAKE_SYSTEM_NAME Darwin)
+
+set(STATIC_UV "/usr/local/Cellar/libuv/1.7.5/lib/libuv.a")
diff --git a/release.sh b/release.sh
index d39afab..35289dd 100755
--- a/release.sh
+++ b/release.sh
@@ -4,6 +4,7 @@ mkdir -p release
pushd release &> /dev/null
#for toolchain in armv7h-linux;
+#for toolchain in multiarch-darwin;
for toolchain in i686-linux i686-w64-mingw32 x86_64-linux x86_64-w64-mingw32;
do
echo $toolchain
@@ -12,6 +13,7 @@ do
pushd $toolchain &> /dev/null
cmake \
-DCMAKE_TOOLCHAIN_FILE=../../cmake/$toolchain.cmake \
+ -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=1 \
-DBUILD_COMMON_UI=0 \