Skip to content

Commit

Permalink
Build the spit plugin (thanks FREDDY!)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6220 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 8, 2006
1 parent f488e05 commit 2a12284
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 35 deletions.
8 changes: 4 additions & 4 deletions src/plugins/plugins.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ TEMPLATE = subdirs
SUBDIRS = delimited_text \
scale_bar \
grid_maker \
north_arrow \
grass \
copyright_label
north_arrow \
grass \
copyright_label \
spit
# gps_importer \
# spit
82 changes: 51 additions & 31 deletions src/plugins/spit/spit.pro
Original file line number Diff line number Diff line change
@@ -1,47 +1,67 @@
TEMPLATE = lib
LANGUAGE = C++
#################################################################
#
# 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.
#
#################################################################

CONFIG += qt dll thread rtti
#
# This file builds the spit plugin
#

LIBS += $(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib ..\..\src\libqgis.lib $(GDAL)\lib\gdal_i.lib
include(../../../settings.pro)
TARGET=spitplugin
TEMPLATE = lib
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

INCLUDEPATH += . ..\..\src $(GDAL)\include $(POSTGRESQL)\src\interfaces\libpq $(POSTGRESQL)\src\include
# 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}

HEADERS += ..\..\src\qgspgutil.cpp
LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
LIBS += $${POSTGRESLIBADD}
#LIBS += $${GEOSLIBADD}
LIBS += $${GDALLIBADD}

SOURCES += qgsconnectiondialog.cpp \
qgsmessageviewer.cpp \
qgsshapefile.cpp \
qgsspit.cpp \
qgsspitplugin.cpp \
qgseditreservedwordsdialog.cpp

FORMS = qgsconnectiondialogbase.ui \
qgsmessageviewerbase.ui \
qgsspitbase.ui \
qgseditreservedwordsbase.ui

######################################################################
# Sorta Automatically generated by qmake (1.06c) Mon Aug 16 10:40:20 2004
######################################################################
# spit.pro,v 1.1 2004/08/18 03:11:01 gsherman Exp
INCLUDEPATH += . \
..\..\src \
$(GDAL)\include \
$(POSTGRESQL)\src\interfaces\libpq \
$(POSTGRESLIBS += $(POSTGRESQL)\src\interfaces\libpq\Release\libpq.lib \
..\..\src\libqgis.lib \
$(GDAL)\lib\gdal_i.lib
DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network

DLLDESTDIR= ..\..\win_build\lib\qgis
message("Building libs into $${DESTDIR}")


# Input
HEADERS += qgsconnectiondialog.h \
qgsdbfbase.h \
qgsmessageviewer.h \
qgseditreservedwordsdialog.h \
qgsshapefile.h \
qgsspit.h \
qgsspitplugin.h \
qgseditreservedwordsdialog.h \
..\..\src\qINTERFACES += qgsconnectiondialogbase.ui qgsmessageviewerbase.ui qgsspitbase.ui qgseditreservedwordsbase.ui
spit_icons.h

INTERFACES += qgsconnectiondialogbase.ui \
qgseditreservedwordsbase.ui \
qgsspitbase.ui

SOURCES += qgsconnectiondialog.cpp \
qgseditreservedwordsdialog.cpp \
qgsspit.cpp \
qgsspitplugin.cpp \
qgsshapefile.cpp

0 comments on commit 2a12284

Please sign in to comment.