################################################################# # # QMAKE Project File for Quantum GIS # # Tim Sutton 2006 # # NOTE: Do not place any hard coded external paths in this file # all libs and includes should be specified in settings.pro # in the top level qgis directory. # ################################################################# # # This file builds the spit plugin # include(../../../settings.pro) TARGET=spitplugin TEMPLATE = lib #suffix debug to target if applicable CONFIG(debug, debug|release){ TARGET = $$member(TARGET, 0)-debug } # This is a hack (thanks freddy!) because many plugins use the # same class names and file names we need to force the compiler # to create separate object files for them. MYDIRNAME=spit MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME} UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME} win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME} INCLUDEPATH += $${OBJDIR}/ui #INCLUDEPATH += $${GEOSINCLUDE} LIBS += $${QGISCORELIBADD} LIBS += $${QGISGUILIBADD} LIBS += $${POSTGRESLIBADD} #LIBS += $${GEOSLIBADD} LIBS += $${GDALLIBADD} DESTDIR=$${QGISPLUGINDIR} QT += qt3support svg core gui xml network message("Building libs into $${DESTDIR}") RESOURCES += spit.qrc HEADERS += qgsconnectiondialog.h \ qgsdbfbase.h \ qgseditreservedwordsdialog.h \ qgsshapefile.h \ qgsspit.h \ qgsspitplugin.h \ qgseditreservedwordsdialog.h \ spit_icons.h INTERFACES += qgsconnectiondialogbase.ui \ qgseditreservedwordsbase.ui \ qgsspitbase.ui SOURCES += qgsconnectiondialog.cpp \ qgseditreservedwordsdialog.cpp \ qgsspit.cpp \ qgsspitplugin.cpp \ qgsshapefile.cpp