mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
37 lines
1.6 KiB
Bash
Executable File
37 lines
1.6 KiB
Bash
Executable File
###########################################################################
|
|
# 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. #
|
|
# #
|
|
###########################################################################
|
|
|
|
mkdir build
|
|
cd build
|
|
#no PGTEST for OSX - can't get postgres to start with brew install
|
|
#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 \
|
|
-DSUPPRESS_SIP_WARNINGS=ON \
|
|
-DSUPPRESS_QT_WARNINGS=ON \
|
|
-DENABLE_MODELTEST=ON \
|
|
-DENABLE_PGTEST=OFF \
|
|
-DWITH_QWTPOLAR=OFF \
|
|
-DWITH_PYSPATIALITE=ON \
|
|
-DQWT_INCLUDE_DIR=/usr/local/opt/qwt/lib/qwt.framework/Headers/ \
|
|
-DQWT_LIBRARY=/usr/local/opt/qwt/lib/qwt.framework/qwt \
|
|
-DGDAL_CONFIG=/usr/local/opt/gdal-20/bin/gdal-config \
|
|
-DGRASS_PREFIX7=/usr/local/opt/grass-70/grass-7.0.4 \
|
|
-DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" \
|
|
..
|