-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build the spit plugin (thanks FREDDY!)
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
Showing
2 changed files
with
55 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|