1
- # #####################################################################
2
- # Qmake project file for building the postgres provider.
3
- # This file is needed for building on Windows
4
- # #####################################################################
5
- # postgres.pro,v 1.2 2004/06/23 04:15:55 gsherman Exp
1
+ # ################################################################
2
+ #
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
+ # ################################################################
6
12
13
+ #
14
+ # This file builds the gui library - the app is built in a separate pro file
15
+ #
16
+
17
+ include (../../../settings.pro )
18
+ TARGET =postgresprovider
7
19
TEMPLATE = lib
8
- INCLUDEPATH += . \
9
- .. \ ..\src \
10
- $(POSTGRESQL) \ src\interfaces\libpq \
11
- $(POSTGRESQL) \ src\include \
12
- $(GEOS) \ include \
13
- $(GDAL) \ include \
14
- $(WINSDK) \ include
15
- LIBS += $(POSTGRESQL) \ src\interfaces\libpq\Release\libpq.lib \
16
- .. \ ..\src\libqgis.lib \
17
- $(GEOS) \ lib\geos.lib \
18
- $(FWTOOLS) \ lib\gdal_i.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 += $${POSTGRESLIBADD }
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
+
34
+ CONFIG += qt dll thread debug rtti
19
35
20
- CONFIG += qt dll thread
21
- DLLDESTDIR = .. \ ..\win_build\lib\qgis
22
- # Input
23
36
HEADERS += qgspostgresprovider.h \
24
37
qgspostgrescountthread.h \
25
38
qgspostgisbox2d.h \
@@ -32,8 +45,3 @@ SOURCES += qgspostgresprovider.cpp \
32
45
qgspostgisbox2d.cpp \
33
46
qgspostgisbox3d.cpp \
34
47
qgspostgresextentthread.cpp \
35
- .. \ ..\src\qgsfeature.cpp \
36
- .. \ ..\src\qgsfield.cpp \
37
- .. \ ..\src\qgsrect.cpp \
38
- .. \ ..\src\qgsfeatureattribute.cpp \
39
- .. \ ..\src\qgspoint.cpp
0 commit comments