Commit 285ae3a6 authored by Hanspeter Portner's avatar Hanspeter Portner

add darwin release target.

parent bf362f12
# 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")
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment