QGIS/ci/travis/osx/install.sh

27 lines
1.5 KiB
Bash
Raw Normal View History

2016-06-03 10:16:00 +02:00
###########################################################################
# install.sh
# ---------------------
# Date : August 2015
# Copyright : (C) 2015 by Nyall Dawson
# Email : nyall dot dawson at gmail dot com
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
2015-08-12 23:36:07 +10:00
mkdir build
cd build
#no PGTEST for OSX - can't get postgres to start with brew install
2015-08-12 23:36:18 +10:00
#no APIDOC for OSX - doxygen tests and warnings are covered by linux build
#no deprecated-declarations warnings... requires QGIS ported to Cocoa
cmake -DWITH_SERVER=ON -DWITH_STAGED_PLUGINS=ON -DWITH_GRASS=OFF \
2015-08-12 23:36:07 +10:00
-DSUPPRESS_QT_WARNINGS=ON -DENABLE_MODELTEST=ON -DENABLE_PGTEST=OFF \
2015-08-12 23:36:18 +10:00
-DWITH_QWTPOLAR=OFF -DWITH_PYSPATIALITE=ON \
2015-08-12 23:36:07 +10:00
-DQWT_INCLUDE_DIR=/usr/local/opt/qwt/lib/qwt.framework/Headers/ \
2015-08-12 23:36:18 +10:00
-DQWT_LIBRARY=/usr/local/opt/qwt/lib/qwt.framework/qwt \
-DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" ..