Skip to content

Commit

Permalink
Merged in patches for building grass support under windows kindly sub…
Browse files Browse the repository at this point in the history
…mitted by Godofredo Contreras

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6058 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 8, 2006
1 parent 3adb412 commit bbc6501
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 1 deletion.
74 changes: 74 additions & 0 deletions src/plugins/grass/grass.pro
@@ -0,0 +1,74 @@
#################################################################
#
# 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 wfs plugin
#

include(../../../settings.pro)
TARGET=grassplugin
TEMPLATE = lib
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
LIBS += $${QGISPROJECTIONSELECTORLIBADD}
LIBS += $${GRASSLIBADD}
LIBS += $${PROJLIBADD}
LIBS += $${GDALLIBADD}
LIBS += $${QGISGRASSPROVIDERLIBADD}
DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network
message("Building libs into $${DESTDIR}")

CONFIG += qt dll thread debug rtti
HEADERS += qgsgrassattributes.h \
qgsgrassbrowser.h \
qgsgrassedit.h \
qgsgrassedittools.h \
qgsgrassmapcalc.h \
qgsgrassmodel.h \
qgsgrassmodule.h \
qgsgrassnewmapset.h \
qgsgrassplugin.h \
qgsgrassregion.h \
qgsgrassselect.h \
qgsgrassshell.h \
qgsgrasstools.h \
qgsgrassutils.h

FORMS += qgsgrassattributesbase.ui \
qgsgrasseditbase.ui \
qgsgrassmapcalcbase.ui \
qgsgrassmodulebase.ui \
qgsgrassnewmapsetbase.ui \
qgsgrassregionbase.ui \
qgsgrassselectbase.ui \
qgsgrassshellbase.ui

SOURCES += qgsgrassattributes.cpp \
qgsgrassbrowser.cpp \
qgsgrassedit.cpp \
qgsgrassedittools.cpp \
qgsgrassmapcalc.cpp \
qgsgrassmodel.cpp \
qgsgrassmodule.cpp \
qgsgrassnewmapset.cpp \
qgsgrassplugin.cpp \
qgsgrassregion.cpp \
qgsgrassselect.cpp \
qgsgrassshell.cpp \
qgsgrasstools.cpp \
qgsgrassutils.cpp
1 change: 1 addition & 0 deletions src/plugins/plugins.pro
Expand Up @@ -12,6 +12,7 @@ SUBDIRS = delimited_text \
grid_maker \
north_arrow \
wfs \
grass \
copyright_label
# gps_importer \
# spit
38 changes: 38 additions & 0 deletions src/providers/grass/grass.pro
@@ -0,0 +1,38 @@
#################################################################
#
# 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 wfs provider
#

include(../../../settings.pro)
TARGET=grassprovider
TEMPLATE = lib
#suffix debug to target if applicable
CONFIG(debug, debug|release){
TARGET = $$member(TARGET, 0)-debug
}

#LIBS += $${GEOSLIBADD}
LIBS += $${QGISCORELIBADD}
LIBS += $${GRASSLIBADD}

DESTDIR=$${QGISPROVIDERDIR}
QT += qt3support svg core gui xml network
message("Building libs into $${DESTDIR}")

CONFIG += qt dll thread debug rtti
HEADERS += qgsgrass.h \
qgsgrassprovider.h
SOURCES += provider.cpp \
qgsgrass.cpp \
qgsgrassprovider.cpp
2 changes: 1 addition & 1 deletion src/providers/providers.pro
Expand Up @@ -10,5 +10,5 @@
#
#################################################################
TEMPLATE = subdirs
SUBDIRS = ogr delimitedtext wfs
SUBDIRS = ogr delimitedtext wfs grass
#grass

0 comments on commit bbc6501

Please sign in to comment.