mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
145 lines
5.2 KiB
Plaintext
145 lines
5.2 KiB
Plaintext
// QGIS Xcode project common build settings
|
|
|
|
// duplicate this file as qgis_user.xcconfig.
|
|
// uncomment settings in qgis_user.xcconfig to override defaults
|
|
// in qgis_settings.xcconfig.
|
|
// commented values values shown here are defaults
|
|
// there is no need to set *everything* here.
|
|
|
|
//SDKSYS = // tig (Tiger), leo (Leopard), [empty] (native)
|
|
//ARCHS = $(NATIVE_ARCH) // default
|
|
//ARCHS = ppc i386 // for universal
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// Qt and other support
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//QT_FWVER = 4 // the Versions/ folder name
|
|
//QT_MVER = 4 // the install_name version
|
|
|
|
//QTDIR = /Developer/Applications/Qt // Qt apps and plugins
|
|
//QTBIN = /Developer/Tools/Qt // bin dir
|
|
//BISON = /usr/bin/bison // Tiger requires user-installed bison 2.3
|
|
//GPSBABEL = /usr/local/bin/gpsbabel
|
|
//SIP_system = /usr/local/bin/sip
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// forms of some libraries
|
|
// 'fw' for framework
|
|
// 'shared' or 'static' for user unix builds
|
|
// if unix, make sure to double-check that corresponding *_PREFIX_shared
|
|
// value is correct (defaults usually /usr/local).
|
|
// framework prefixes should not change.
|
|
// some have alternate form choices
|
|
// static vs. shared choices are always user unix libs
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//GDAL_FORM = fw // fw or shared
|
|
//PROJ_FORM = fw // fw or shared
|
|
//GEOS_FORM = fw // fw or shared
|
|
|
|
//SQLITE_FORM = fw // fw, system, static or shared
|
|
|
|
//GSL_FORM = shared // static or shared
|
|
//PGSQL_FORM = shared // static or shared
|
|
|
|
// system expat only on Leopard+
|
|
//EXPAT_FORM = shared // static, shared or system
|
|
|
|
//GRASS_FORM = app // app or unix
|
|
// version as in app name or unix folder name, can't auto-detect here
|
|
//GRASS_VERSION = 6.4
|
|
|
|
// system Python only on Leopard+
|
|
//PYTHON_FORM = fw // fw, system or disabled
|
|
//PYTHON_VERSION = 2.5 // can't auto-detect here
|
|
// only uncomment this for a native build on Leopard
|
|
//PYTHON_HAVE_system_ = HAVE_PYTHON=1
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// whether to bundle some external libs in the app package
|
|
// some checking is done, so /Library frameworks (except Qt) and
|
|
// /usr/lib libraries and /usr/bin progs won't be bundled
|
|
// bundling ignored for static libs
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//BUNDLE_GSL = YES
|
|
//BUNDLE_PGSQL = YES
|
|
//BUNDLE_GPSBABEL = YES
|
|
|
|
// frameworks not bundled
|
|
//BUNDLE_GDAL = YES
|
|
//BUNDLE_GEOS = YES
|
|
//BUNDLE_PROJ = YES
|
|
//BUNDLE_SQLITE = YES
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////
|
|
//// above is the most that might need to be changed to handle ////
|
|
//// most common cases ////
|
|
//////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// locations of user forms of dependencies
|
|
// only used when the _shared or _static form is used above
|
|
// or always for some libraries
|
|
// shared and static use same prefix
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//GDAL_PREFIX_shared = /usr/local
|
|
//PROJ_PREFIX_shared = /usr/local
|
|
//GEOS_PREFIX_shared = /usr/local
|
|
|
|
//GSL_PREFIX = /usr/local
|
|
|
|
// This must match exactly how GRASS was built and installed.
|
|
// If it was moved or renamed, qgis GRASS plugin will not work.
|
|
// Prefix is the equivalent of the GRASS GISBASE
|
|
//GRASS_PREFIX_app = /Applications/GRASS-$(GRASS_VERSION).app/Contents/MacOS
|
|
//GRASS_PREFIX_unix = /usr/local/grass-$(GRASS_VERSION)
|
|
|
|
//EXPAT_PREFIX = /usr/local // not used for system expat
|
|
|
|
// unix SQLite defaults to system
|
|
//SQLITE_PREFIX_shared = /usr
|
|
|
|
//PGSQL_PREFIX = /usr/local/pgsql
|
|
// used to link static libs
|
|
//PGSQL_LIBADD = -lssl -lcrypto -lpam -lkrb5
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
// do not change these unless you have a very odd layout for them
|
|
// or they just aren't coming out right in Xcode
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
//GDAL_INC = $(GDAL_INC_$(GDAL_FORM))
|
|
//GDAL_LIB = $(GDAL_LIB_$(GDAL_FORM))
|
|
|
|
//PROJ_INC = $(PROJ_INC_$(PROJ_FORM))
|
|
//PROJ_LIB = $(PROJ_LIB_$(PROJ_FORM))
|
|
|
|
//GEOS_INC = $(GEOS_INC_$(GEOS_FORM))
|
|
//GEOS_LIB = $(GEOS_LIB_$(GEOS_FORM))
|
|
|
|
//GRASS_PREFIX = $(GRASS_PREFIX_$(GRASS_FORM))
|
|
//GRASS_INC = $(GRASS_PREFIX)/include $(GRASS_PREFIX)/include/grass
|
|
//GRASS_LIB = -L$(GRASS_PREFIX)/lib -lgrass_vect -lgrass_dig2 -lgrass_dbmiclient -lgrass_dbmibase -lgrass_shape -lgrass_dgl -lgrass_rtree -lgrass_gis -lgrass_datetime -lgrass_linkm -lgrass_form -lgrass_gproj
|
|
//GRASS_BASE = $(GRASS_PREFIX)
|
|
|
|
//EXPAT_INC = $(EXPAT_INC_$(EXPAT_FORM))
|
|
//EXPAT_LIB = $(EXPAT_LIB_$(EXPAT_FORM))
|
|
|
|
//GSL_INC = $(GSL_PREFIX)/include
|
|
//GSL_LIB = $(GSL_LIB_$(GSL_FORM))
|
|
|
|
//PGSQL_INC = $(PGSQL_PREFIX)/include
|
|
//PGSQL_LIB = $(PGSQL_LIB_$(PGSQL_FORM))
|
|
|
|
//SQLITE_INC = $(SQLITE_INC_$(SQLITE_FORM))
|
|
//SQLITE_LIB = $(SQLITE_LIB_$(SQLITE_FORM))
|
|
|
|
//PYTHON_PREFIX = $(PYTHON_PREFIX_$(PYTHON_FORM))/Versions/Current
|
|
//PYTHON_INC = $(PYTHON_PREFIX)/Headers
|
|
//PYTHON_LIB = -framework Python
|