/
qgis_user-template.xcconfig
142 lines (109 loc) · 5.14 KB
/
qgis_user-template.xcconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
// 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
//////////////////////////////////////////////////////////////////////
// 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