1
// QGIS Xcode project common build settings
3
// duplicate this file as qgis_user.xcconfig.
4
// uncomment settings in qgis_user.xcconfig to override defaults
5
// in qgis_settings.xcconfig.
6
// commented values values shown here are defaults
7
// there is no need to set *everything* here.
9
// SDKSYS must be set to valid value
10
//SDKSYS = leo // tig (Tiger), leo (Leopard), snow (Snow Leopard)
11
// default to universal, per system; space-separated list
12
//ARCHS = $(ARCHS_$(SDKSYS)) // ppc i386 ppc64 x86_64
14
// python archs use ; separator, must match what's in ARCHS
15
//ARCHS_P = $(ARCH_P_$(SDKSYS)) // in the form arch1;arch2;...
17
//////////////////////////////////////////////////////////////////////
18
// Qt and other support
19
//////////////////////////////////////////////////////////////////////
21
//QT_MVER = 4 // the install_name version
22
//QT_FWVER = $(QT_MVER) // the Versions/ folder name, normally same as Qt ver
24
//QT_PLUGINS_DIR = /Developer/Applications/Qt/plugins
25
//QTBIN = /Developer/Tools/Qt // bin dir
26
//BISON = /usr/bin/bison // Tiger requires user-installed bison 2.3
27
//GPSBABEL = /usr/local/bin/gpsbabel
29
//////////////////////////////////////////////////////////////////////
30
// forms of some libraries
32
// 'shared' or 'static' for user unix builds
33
// if unix, make sure to double-check that corresponding *_PREFIX_shared
34
// value is correct (defaults usually /usr/local).
35
// framework prefixes should not change.
36
// some have alternate form choices
37
// static vs. shared choices are always user unix libs
38
//////////////////////////////////////////////////////////////////////
40
//GDAL_FORM = fw // fw or shared
41
//PROJ_FORM = fw // fw or shared
42
//GEOS_FORM = fw // fw or shared
44
// SQLite and Spatialite tied together and use same setting
45
// system is sqlite-only
46
// fw, shared and internal enable both, so spatial MUST be available
47
// (is avail for fw, use spatialite 2.3+ for shared sqlite+spatialite)
48
//SQLITE_FORM = fw // system, fw, shared or internal
49
// whether spatialite is built with GEOS and PROJ
50
// (must be same GEOS and PROJ used for Qgis)
51
//SPATIALITE_GEOS = yes
52
//SPATIALITE_PROJ = yes
54
//GSL_FORM = shared // static or shared
55
//PGSQL_FORM = shared // static or shared
57
// system expat only on Leopard+
58
//EXPAT_FORM = $(EXPAT_FORM_$(SDKSYS)) // static, shared or system
60
//GRASS_FORM = app // app or unix
61
// version as in app name or unix folder name, can't auto-detect here
64
// system Python only on Leopard+
65
//PYTHON_FORM = $(PYTHON_FORM_$(SDKSYS)) // fw, system or disabled
66
//PYTHON_VERSION = $(PYTHON_VERSION_$(SDKSYS))
68
//////////////////////////////////////////////////////////////////////
69
// whether to bundle some external libs in the app package
70
// some checking is done, so /Library frameworks (except Qt) and
71
// /usr/lib libraries and /usr/bin progs won't be bundled
72
// bundling ignored for static libs
73
//////////////////////////////////////////////////////////////////////
77
//BUNDLE_GPSBABEL = YES
79
// frameworks not bundled
85
//////////////////////////////////////////////////////////////////////
86
//////////////////////////////////////////////////////////////////////
87
//// above is the most that might need to be changed to handle ////
88
//// most common cases ////
89
//////////////////////////////////////////////////////////////////////
90
//////////////////////////////////////////////////////////////////////
92
//////////////////////////////////////////////////////////////////////
93
// locations of user forms of dependencies
94
// only used when the _shared or _static form is used above
95
// or always for some libraries
96
// shared and static use same prefix
97
//////////////////////////////////////////////////////////////////////
99
//GDAL_PREFIX_shared = /usr/local
100
//PROJ_PREFIX_shared = /usr/local
101
//GEOS_PREFIX_shared = /usr/local
103
//GSL_PREFIX = /usr/local
105
// This must match exactly how GRASS was built and installed.
106
// If it was moved or renamed, qgis GRASS plugin will not work.
107
// Prefix is the equivalent of the GRASS GISBASE
108
//GRASS_PREFIX_app = /Applications/GRASS-$(GRASS_VERSION).app/Contents/MacOS
109
//GRASS_PREFIX_unix = /usr/local/grass-$(GRASS_VERSION)
111
//PYSITE_fw = $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)/site-packages
113
//EXPAT_PREFIX = /usr/local // not used for system expat
115
//SQLITE_PREFIX_shared = /usr/local
117
//PGSQL_PREFIX = /usr/local/pgsql
118
// used to link static libs, defaults based on kyngchaos dist
119
//PGSQL_LIBADD = -lintl -framework CoreFoundation -liconv -lxml2 -lssl -lcrypto -lpam -lkrb5 -lldap -lz
121
//////////////////////////////////////////////////////////////////////
122
// do not change these unless you have a very odd layout for them
123
// or they just aren't coming out right in Xcode
124
//////////////////////////////////////////////////////////////////////
126
//GDAL_INC = $(GDAL_INC_$(GDAL_FORM))
127
//GDAL_LIB = $(GDAL_LIB_$(GDAL_FORM))
129
//PROJ_INC = $(PROJ_INC_$(PROJ_FORM))
130
//PROJ_LIB = $(PROJ_LIB_$(PROJ_FORM))
132
//GEOS_INC = $(GEOS_INC_$(GEOS_FORM))
133
//GEOS_LIB = $(GEOS_LIB_$(GEOS_FORM))
135
//GRASS_PREFIX = $(GRASS_PREFIX_$(GRASS_FORM))
136
//GRASS_INC = $(GRASS_PREFIX)/include $(GRASS_PREFIX)/include/grass
137
//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
138
//GRASS_BASE = $(GRASS_PREFIX)
140
//EXPAT_INC = $(EXPAT_INC_$(EXPAT_FORM))
141
//EXPAT_LIB = $(EXPAT_LIB_$(EXPAT_FORM))
143
//GSL_INC = $(GSL_PREFIX)/include
144
//GSL_LIB = $(GSL_LIB_$(GSL_FORM))
146
//PGSQL_INC = $(PGSQL_PREFIX)/include
147
//PGSQL_LIB = $(PGSQL_LIB_$(PGSQL_FORM))
149
//SQLITE_INC = $(SQLITE_INC_$(SQLITE_FORM))
150
//SQLITE_LIB = $(SQLITE_LIB_$(SQLITE_FORM))
151
//SPATIALITE_LIBADD = $(GEOS_LIB) $(PROJ_LIB)
153
//PYTHON_PREFIX = $(PYTHON_PREFIX_$(PYTHON_FORM))/Versions/$(PYTHON_VERSION)
154
//PYTHON_BIN = $(PYTHON_BIN_$(PYTHON_FORM)) // Python executables
155
//PYTHON_USRBIN = $(PYTHON_USRBIN_$(PYTHON_FORM)) // User-installed executables
156
//PYTHON_INC = $(PYTHON_PREFIX)/Headers
157
//PYTHON_LIB = -framework Python // must always be framework, full path will work
158
//PYSITE = $(PYSITE_$(PYTHON_FORM)) // site-packages
159
//PYTHON = $(PYTHON_PREFIX)/bin/python