|
1 |
| -TEMPLATE = lib |
2 |
| -LANGUAGE = C++ |
| 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 | +################################################################# |
3 | 12 |
|
4 |
| -CONFIG += qt dll thread rtti |
| 13 | +# |
| 14 | +# This file builds the spit plugin |
| 15 | +# |
5 | 16 |
|
6 |
| -LIBS += $(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib ..\..\src\libqgis.lib $(GDAL)\lib\gdal_i.lib |
| 17 | +include(../../../settings.pro) |
| 18 | +TARGET=spitplugin |
| 19 | +TEMPLATE = lib |
| 20 | +#suffix debug to target if applicable |
| 21 | +CONFIG(debug, debug|release){ |
| 22 | + TARGET = $$member(TARGET, 0)-debug |
| 23 | +} |
7 | 24 |
|
8 |
| -INCLUDEPATH += . ..\..\src $(GDAL)\include $(POSTGRESQL)\src\interfaces\libpq $(POSTGRESQL)\src\include |
| 25 | +# This is a hack (thanks freddy!) because many plugins use the |
| 26 | +# same class names and file names we need to force the compiler |
| 27 | +# to create separate object files for them. |
| 28 | +MYDIRNAME=spit |
| 29 | +MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME} |
| 30 | +UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME} |
| 31 | +win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME} |
| 32 | +INCLUDEPATH += $${OBJDIR}/ui |
| 33 | +#INCLUDEPATH += $${GEOSINCLUDE} |
9 | 34 |
|
10 |
| -HEADERS += ..\..\src\qgspgutil.cpp |
| 35 | +LIBS += $${QGISCORELIBADD} |
| 36 | +LIBS += $${QGISGUILIBADD} |
| 37 | +LIBS += $${POSTGRESLIBADD} |
| 38 | +#LIBS += $${GEOSLIBADD} |
| 39 | +LIBS += $${GDALLIBADD} |
11 | 40 |
|
12 |
| -SOURCES += qgsconnectiondialog.cpp \ |
13 |
| - qgsmessageviewer.cpp \ |
14 |
| - qgsshapefile.cpp \ |
15 |
| - qgsspit.cpp \ |
16 |
| - qgsspitplugin.cpp \ |
17 |
| - qgseditreservedwordsdialog.cpp |
18 | 41 |
|
19 |
| -FORMS = qgsconnectiondialogbase.ui \ |
20 |
| - qgsmessageviewerbase.ui \ |
21 |
| - qgsspitbase.ui \ |
22 |
| - qgseditreservedwordsbase.ui |
23 | 42 |
|
24 |
| -###################################################################### |
25 |
| -# Sorta Automatically generated by qmake (1.06c) Mon Aug 16 10:40:20 2004 |
26 |
| -###################################################################### |
27 |
| -# spit.pro,v 1.1 2004/08/18 03:11:01 gsherman Exp |
28 |
| -INCLUDEPATH += . \ |
29 |
| - ..\..\src \ |
30 |
| - $(GDAL)\include \ |
31 |
| - $(POSTGRESQL)\src\interfaces\libpq \ |
32 |
| - $(POSTGRESLIBS += $(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib \ |
33 |
| - ..\..\src\libqgis.lib \ |
34 |
| - $(GDAL)\lib\gdal_i.lib |
| 43 | +DESTDIR=$${QGISPLUGINDIR} |
| 44 | +QT += qt3support svg core gui xml network |
35 | 45 |
|
36 |
| -DLLDESTDIR= ..\..\win_build\lib\qgis |
| 46 | +message("Building libs into $${DESTDIR}") |
37 | 47 |
|
38 | 48 |
|
39 |
| -# Input |
40 | 49 | HEADERS += qgsconnectiondialog.h \
|
41 | 50 | qgsdbfbase.h \
|
42 |
| - qgsmessageviewer.h \ |
| 51 | + qgseditreservedwordsdialog.h \ |
43 | 52 | qgsshapefile.h \
|
44 | 53 | qgsspit.h \
|
45 | 54 | qgsspitplugin.h \
|
46 | 55 | qgseditreservedwordsdialog.h \
|
47 |
| - ..\..\src\qINTERFACES += qgsconnectiondialogbase.ui qgsmessageviewerbase.ui qgsspitbase.ui qgseditreservedwordsbase.ui |
| 56 | + spit_icons.h |
| 57 | + |
| 58 | +INTERFACES += qgsconnectiondialogbase.ui \ |
| 59 | + qgseditreservedwordsbase.ui \ |
| 60 | + qgsspitbase.ui |
| 61 | + |
| 62 | +SOURCES += qgsconnectiondialog.cpp \ |
| 63 | + qgseditreservedwordsdialog.cpp \ |
| 64 | + qgsspit.cpp \ |
| 65 | + qgsspitplugin.cpp \ |
| 66 | + qgsshapefile.cpp |
| 67 | + |
0 commit comments