QGIS/mac/xcode/qgis_user-template.xcconfig

161 lines
6.0 KiB
Plaintext
Raw Normal View History

// 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_MVER = 4 // the install_name version
//QT_FWVER = $(QT_MVER) // the Versions/ folder name, normally same as Qt ver
//QT_PLUGINS_DIR = /Developer/Applications/Qt/plugins
//QTBIN = /Developer/Tools/Qt // bin dir
//BISON = /usr/bin/bison // Tiger requires user-installed bison 2.3
//GPSBABEL = /usr/local/bin/gpsbabel
//////////////////////////////////////////////////////////////////////
// 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
// spatialite framework form is actually a part of sqlite fw
//SPATIALITE_FORM = fw // fw, static or shared
// whether spatialite is built with GEOS and PROJ
// (must be same GEOS and PROJ used for Qgis)
//SPATIALITE_GEOS = yes
//SPATIALITE_PROJ = yes
//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
//BUNDLE_SPATIALITE = 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)
//PYSITE_fw = $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)/site-packages
//EXPAT_PREFIX = /usr/local // not used for system expat
// unix SQLite defaults to system
//SQLITE_PREFIX_shared = /usr
//SQLITE_PREFIX_static = /usr/local
//SPATIALITE_PREFIX = /usr/local
//PGSQL_PREFIX = /usr/local/pgsql
// used to link static libs, defaults based on kyngchaos dist
//PGSQL_LIBADD = -lintl -framework CoreFoundation -liconv -lxml2 -lssl -lcrypto -lpam -lkrb5 -lldap -lreadline -lz
//////////////////////////////////////////////////////////////////////
// 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))
//SPATIALITE_INC = $(SPATIALITE_INC_$(SPATIALITE_FORM))
//SPATIALITE_LIB = $(SPATIALITE_LIB_$(SPATIALITE_FORM))
//SPATIALITE_LIBADD = $(GEOS_LIB) $(PROJ_LIB)
//PYTHON_PREFIX = $(PYTHON_PREFIX_$(PYTHON_FORM))/Versions/$(PYTHON_VERSION)
//PYTHON_INC = $(PYTHON_PREFIX)/Headers
//PYTHON_LIB = -framework Python // must always be framework, full path will work
//PYSITE = $(PYSITE_$(PYTHON_FORM))
//PYTHON = $(PYTHON_PREFIX)/bin/python