~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to mac/xcode/qgis_user-template.xcconfig

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// QGIS Xcode project common build settings
 
2
 
 
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.
 
8
 
 
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
 
13
 
 
14
// python archs use ; separator, must match what's in ARCHS
 
15
//ARCHS_P = $(ARCH_P_$(SDKSYS)) // in the form arch1;arch2;...
 
16
 
 
17
//////////////////////////////////////////////////////////////////////
 
18
// Qt and other support
 
19
//////////////////////////////////////////////////////////////////////
 
20
 
 
21
//QT_MVER = 4 // the install_name version
 
22
//QT_FWVER = $(QT_MVER) // the Versions/ folder name, normally same as Qt ver
 
23
 
 
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
 
28
 
 
29
//////////////////////////////////////////////////////////////////////
 
30
// forms of some libraries
 
31
//   'fw' for framework
 
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
//////////////////////////////////////////////////////////////////////
 
39
 
 
40
//GDAL_FORM = fw // fw or shared
 
41
//PROJ_FORM = fw // fw or shared
 
42
//GEOS_FORM = fw // fw or shared
 
43
 
 
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
 
53
 
 
54
//GSL_FORM = shared // static or shared
 
55
//PGSQL_FORM = shared // static or shared
 
56
 
 
57
// system expat only on Leopard+
 
58
//EXPAT_FORM = $(EXPAT_FORM_$(SDKSYS)) // static, shared or system
 
59
 
 
60
//GRASS_FORM = app // app or unix
 
61
// version as in app name or unix folder name, can't auto-detect here
 
62
//GRASS_VERSION = 6.4
 
63
 
 
64
// system Python only on Leopard+
 
65
//PYTHON_FORM = $(PYTHON_FORM_$(SDKSYS)) // fw, system or disabled
 
66
//PYTHON_VERSION = $(PYTHON_VERSION_$(SDKSYS))
 
67
 
 
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
//////////////////////////////////////////////////////////////////////
 
74
 
 
75
//BUNDLE_GSL = YES
 
76
//BUNDLE_PGSQL = YES
 
77
//BUNDLE_GPSBABEL = YES
 
78
 
 
79
// frameworks not bundled
 
80
//BUNDLE_GDAL = YES
 
81
//BUNDLE_GEOS = YES
 
82
//BUNDLE_PROJ = YES
 
83
//BUNDLE_SQLITE = YES
 
84
 
 
85
//////////////////////////////////////////////////////////////////////
 
86
//////////////////////////////////////////////////////////////////////
 
87
//// above is the most that might need to be changed to handle    ////
 
88
//// most common cases                                            ////
 
89
//////////////////////////////////////////////////////////////////////
 
90
//////////////////////////////////////////////////////////////////////
 
91
 
 
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
//////////////////////////////////////////////////////////////////////
 
98
 
 
99
//GDAL_PREFIX_shared = /usr/local
 
100
//PROJ_PREFIX_shared = /usr/local
 
101
//GEOS_PREFIX_shared = /usr/local
 
102
 
 
103
//GSL_PREFIX = /usr/local
 
104
 
 
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)
 
110
 
 
111
//PYSITE_fw = $(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)/site-packages
 
112
 
 
113
//EXPAT_PREFIX = /usr/local // not used for system expat
 
114
 
 
115
//SQLITE_PREFIX_shared = /usr/local
 
116
 
 
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
 
120
 
 
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
//////////////////////////////////////////////////////////////////////
 
125
 
 
126
//GDAL_INC = $(GDAL_INC_$(GDAL_FORM))
 
127
//GDAL_LIB = $(GDAL_LIB_$(GDAL_FORM))
 
128
 
 
129
//PROJ_INC = $(PROJ_INC_$(PROJ_FORM))
 
130
//PROJ_LIB = $(PROJ_LIB_$(PROJ_FORM))
 
131
 
 
132
//GEOS_INC = $(GEOS_INC_$(GEOS_FORM))
 
133
//GEOS_LIB = $(GEOS_LIB_$(GEOS_FORM))
 
134
 
 
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)
 
139
 
 
140
//EXPAT_INC = $(EXPAT_INC_$(EXPAT_FORM))
 
141
//EXPAT_LIB = $(EXPAT_LIB_$(EXPAT_FORM))
 
142
 
 
143
//GSL_INC = $(GSL_PREFIX)/include
 
144
//GSL_LIB = $(GSL_LIB_$(GSL_FORM))
 
145
 
 
146
//PGSQL_INC = $(PGSQL_PREFIX)/include
 
147
//PGSQL_LIB = $(PGSQL_LIB_$(PGSQL_FORM))
 
148
 
 
149
//SQLITE_INC = $(SQLITE_INC_$(SQLITE_FORM))
 
150
//SQLITE_LIB = $(SQLITE_LIB_$(SQLITE_FORM))
 
151
//SPATIALITE_LIBADD = $(GEOS_LIB) $(PROJ_LIB)
 
152
 
 
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