|
1 |
| -#################################################################### |
2 |
| -# Qmake project file for QGIS data provider |
3 |
| -# This file is used by qmake to generate the Makefile for building |
4 |
| -# the QGIS OGR data provider on Windows |
| 1 | +################################################################# |
5 | 2 | #
|
6 |
| -# ogr.pro,v 1.2 2004/08/14 01:10:09 timlinux Exp |
7 |
| -#################################################################### |
| 3 | +# QMAKE Project File for Quantum GIS |
| 4 | +# |
| 5 | +# Tim Sutton 2006 |
| 6 | +# |
| 7 | +# NOTE: Do not place any hard coded external paths in this file |
| 8 | +# all libs and includes should be specified in settings.pro |
| 9 | +# in the top level qgis directory. |
| 10 | +# |
| 11 | +################################################################# |
8 | 12 |
|
9 |
| -################# |
10 |
| -# GEOS Notes # |
11 |
| -########################################################################## |
12 |
| -# Geos support is currenlty provided by a custom compiled library. |
13 |
| -# The library is compiled with vc++ and statically linked with the |
14 |
| -# ogr provider. A dll may be supplied at a later date. GEOS source |
15 |
| -# used in creating the library is available at geos.refractions.net. |
16 |
| -# To compile the windows version, set the GEOS environment variable |
17 |
| -# to point to the directory containing the include and lib subdirectories. |
18 |
| -# The headers/lib can be downloaded from http://qgis.org/win32_geos.zip |
19 |
| -########################################################################### |
| 13 | +# |
| 14 | +# This file builds the gui library - the app is built in a separate pro file |
| 15 | +# |
20 | 16 |
|
| 17 | +include(../../../settings.pro) |
| 18 | +TARGET=ogrprovider |
21 | 19 | TEMPLATE = lib
|
22 |
| -INCLUDEPATH += . $(GDAL)\include \ |
23 |
| - $(GEOS)\include \ |
24 |
| - $(QTDIR)\include |
25 |
| -LIBS += $(GDAL)\lib\gdal_i.lib \ |
26 |
| - ..\..\src\libqgis.lib \ |
27 |
| - $(GEOS)\lib\geos.lib |
| 20 | +#suffix debug to target if applicable |
| 21 | +CONFIG(debug, debug|release){ |
| 22 | + TARGET = $$member(TARGET, 0)-debug |
| 23 | +} |
| 24 | +LIBS += $${GDALLIBADD} |
| 25 | +LIBS += $${GEOSLIBADD} |
| 26 | +#LIBS += $${PROJLIBADD} |
| 27 | +LIBS += $${QGISCORELIBADD} |
| 28 | +LIBS += $${QGISGUILIBADD} |
| 29 | +LIBS += $${QGISPROJECTIONSELECTORLIBADD} |
| 30 | +DESTDIR=$${QGISPROVIDERDIR} |
| 31 | +QT += qt3support svg core gui xml network |
| 32 | +message("Building libs into $${DESTDIR}") |
| 33 | + |
28 | 34 | CONFIG += qt dll thread debug rtti
|
29 |
| -#CONFIG += qt dll thread rtti |
30 |
| -DLLDESTDIR= ..\..\win_build\lib\qgis |
31 |
| -#DEFINES += NOWIN32GEOS |
32 |
| -# Input |
33 |
| -HEADERS += qgsshapefileprovider.h |
34 |
| -SOURCES += qgsshapefileprovider.cpp \ |
35 |
| - ..\..\src\qgsfeature.cpp \ |
36 |
| - ..\..\src\qgsfield.cpp \ |
37 |
| - ..\..\src\qgsrect.cpp \ |
38 |
| - ..\..\src\qgsfeatureattribute.cpp \ |
39 |
| - ..\..\src\qgspoint.cpp |
| 35 | +HEADERS += qgsogrprovider.h |
| 36 | +SOURCES += qgsogrprovider.cpp |
0 commit comments