diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-09 16:11:44 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-09 16:11:44 -0400 |
commit | 1c1df1558b218c90997e804bb29342ca3c614e32 (patch) | |
tree | cc17bdf74f42145b4bc2d1464e97f21a41f9f143 /setup-libraries.sh | |
parent | 271591cf37fd919e64cca9bf3b283536cb51c8d3 (diff) | |
download | qtlocation-mapboxgl-1c1df1558b218c90997e804bb29342ca3c614e32.tar.gz |
use global setup script
Diffstat (limited to 'setup-libraries.sh')
-rwxr-xr-x | setup-libraries.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/setup-libraries.sh b/setup-libraries.sh new file mode 100755 index 0000000000..64099df94e --- /dev/null +++ b/setup-libraries.sh @@ -0,0 +1,39 @@ +#!/bin/sh +set -e -u + +if [ ! -d 'mapnik-packaging' ]; then + git clone --depth=0 https://github.com/mapnik/mapnik-packaging.git +fi + +cd mapnik-packaging/osx/ +git pull + +export CXX11=true + +source iPhoneOS.sh + if [ ! -f out/build-cpp11-libcpp-armv7/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi + echo ' ...done' + +source iPhoneOSs.sh + if [ ! -f out/build-cpp11-libcpp-armv7s/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi + echo ' ...done' + +source iPhoneOS64.sh + if [ ! -f out/build-cpp11-libcpp-arm64/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi + echo ' ...done' + +source iPhoneSimulator.sh + if [ ! -f out/build-cpp11-libcpp-i386/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi + echo ' ...done' + +source MacOSX.sh + if [ ! -f out/build-cpp11-libcpp-x86_64/lib/libpng.a ] ; then ./scripts/build_png.sh ; fi + if [ ! -f out/build-cpp11-libcpp-x86_64/lib/libglfw3.a ] ; then ./scripts/build_glfw.sh ; fi + if [ ! -f out/build-cpp11-libcpp-x86_64/lib/libssl.a ] ; then ./scripts/build_openssl.sh ; fi + if [ ! -f out/build-cpp11-libcpp-x86_64/lib/libcurl.a ] ; then ./scripts/build_curl.sh ; fi + echo ' ...done' + +./scripts/make_universal.sh + +cd ../../ +./configure --pkg-config-root=`pwd`/mapnik-packaging/osx/out/build-cpp11-libcpp-universal/lib/pkgconfig |