Skip to content

Commit

Permalink
Make the gps importer plugin under windows / qmake
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6234 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 11, 2006
1 parent b9444f7 commit dc3d054
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 16 deletions.
60 changes: 46 additions & 14 deletions src/plugins/gps_importer/gps_importer.pro
@@ -1,28 +1,60 @@
######################################################################
# Automatically generated by qmake (1.06c) Fri Jul 16 17:05:20 2004
######################################################################
#################################################################
#
# 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 gps importer plugin
#

include(../../../settings.pro)
TARGET=gpsgplugin
TEMPLATE = lib
INCLUDEPATH += . ..\..\src \
$(GEOS)\include
LIBS += ..\..\src\libqgis.lib \
$(GDAL)\lib\gdal_i.lib \
$(GEOS)\lib\geos.lib \
$(POSTGRESQL)\src\interfaces\libpq\Release\libpq.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=gps_importer
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
INCLUDEPATH += $${OBJDIR}/ui
INCLUDEPATH += .

LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
LIBS += $${POSTGRESLIBADD}


DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network

message("Building libs into $${DESTDIR}")

DLLDESTDIR= ..\..\win_build\lib\qgis
CONFIG += qt dll thread rtti

# Input
FORMS += qgsgpspluginguibase.ui \
qgsgpsdevicedialogbase.ui

HEADERS += qgsgpsplugin.h \
qgsbabelformat.h \
qgsgpsdevice.h\
qgsbabelformat.h \
qgsgpsplugingui.h \
qgsgpsdevicedialog.h
INTERFACES += qgsgpspluginguibase.ui \
qgsgpsdevicedialogbase.ui
SOURCES += qgsgpsplugin.cpp \
qgsbabelformat.h \
qgsgpsdevice.cpp \
qgsbabelformat.cpp \
qgsgpsplugingui.cpp \
qgsgpsdevicedialog.cpp
Expand Down
6 changes: 4 additions & 2 deletions src/plugins/plugins.pro
Expand Up @@ -15,5 +15,7 @@ SUBDIRS = delimited_text \
copyright_label \
georeferencer \
geoprocessing \
spit
# gps_importer \
spit \
gps_importer
#\
# wfs

0 comments on commit dc3d054

Please sign in to comment.