mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Build the spit plugin (thanks FREDDY!)
git-svn-id: http://svn.osgeo.org/qgis/trunk@6220 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
abff44751d
commit
1e24e5a258
@ -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
|
||||
|
@ -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
|
||||
|
||||
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
|
||||
|
||||
DLLDESTDIR= ..\..\win_build\lib\qgis
|
||||
LIBS += $${QGISCORELIBADD}
|
||||
LIBS += $${QGISGUILIBADD}
|
||||
LIBS += $${POSTGRESLIBADD}
|
||||
#LIBS += $${GEOSLIBADD}
|
||||
LIBS += $${GDALLIBADD}
|
||||
|
||||
|
||||
|
||||
DESTDIR=$${QGISPLUGINDIR}
|
||||
QT += qt3support svg core gui xml network
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user