Skip to content

Commit 1414138

Browse files
author
timlinux
committed
Merged in patches for building grass support under windows kindly submitted by Godofredo Contreras
git-svn-id: http://svn.osgeo.org/qgis/trunk@6058 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 54bd4e0 commit 1414138

File tree

4 files changed

+114
-1
lines changed

4 files changed

+114
-1
lines changed

src/plugins/grass/grass.pro

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
#################################################################
2+
#
3+
# QMAKE Project File for Quantum GIS
4+
#
5+
# Tim Sutton 2006
6+
#
7+
# NOTE: Do not place any hard coded external paths in this file
8+
# all libs and includes should be specified in settings.pro
9+
# in the top level qgis directory.
10+
#
11+
#################################################################
12+
13+
#
14+
# This file builds the wfs plugin
15+
#
16+
17+
include(../../../settings.pro)
18+
TARGET=grassplugin
19+
TEMPLATE = lib
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
25+
LIBS += $${QGISCORELIBADD}
26+
LIBS += $${QGISGUILIBADD}
27+
LIBS += $${QGISPROJECTIONSELECTORLIBADD}
28+
LIBS += $${GRASSLIBADD}
29+
LIBS += $${PROJLIBADD}
30+
LIBS += $${GDALLIBADD}
31+
LIBS += $${QGISGRASSPROVIDERLIBADD}
32+
DESTDIR=$${QGISPLUGINDIR}
33+
QT += qt3support svg core gui xml network
34+
message("Building libs into $${DESTDIR}")
35+
36+
CONFIG += qt dll thread debug rtti
37+
HEADERS += qgsgrassattributes.h \
38+
qgsgrassbrowser.h \
39+
qgsgrassedit.h \
40+
qgsgrassedittools.h \
41+
qgsgrassmapcalc.h \
42+
qgsgrassmodel.h \
43+
qgsgrassmodule.h \
44+
qgsgrassnewmapset.h \
45+
qgsgrassplugin.h \
46+
qgsgrassregion.h \
47+
qgsgrassselect.h \
48+
qgsgrassshell.h \
49+
qgsgrasstools.h \
50+
qgsgrassutils.h
51+
52+
FORMS += qgsgrassattributesbase.ui \
53+
qgsgrasseditbase.ui \
54+
qgsgrassmapcalcbase.ui \
55+
qgsgrassmodulebase.ui \
56+
qgsgrassnewmapsetbase.ui \
57+
qgsgrassregionbase.ui \
58+
qgsgrassselectbase.ui \
59+
qgsgrassshellbase.ui
60+
61+
SOURCES += qgsgrassattributes.cpp \
62+
qgsgrassbrowser.cpp \
63+
qgsgrassedit.cpp \
64+
qgsgrassedittools.cpp \
65+
qgsgrassmapcalc.cpp \
66+
qgsgrassmodel.cpp \
67+
qgsgrassmodule.cpp \
68+
qgsgrassnewmapset.cpp \
69+
qgsgrassplugin.cpp \
70+
qgsgrassregion.cpp \
71+
qgsgrassselect.cpp \
72+
qgsgrassshell.cpp \
73+
qgsgrasstools.cpp \
74+
qgsgrassutils.cpp

src/plugins/plugins.pro

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ SUBDIRS = delimited_text \
1212
grid_maker \
1313
north_arrow \
1414
wfs \
15+
grass \
1516
copyright_label
1617
# gps_importer \
1718
# spit

src/providers/grass/grass.pro

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#################################################################
2+
#
3+
# QMAKE Project File for Quantum GIS
4+
#
5+
# Tim Sutton 2006
6+
#
7+
# NOTE: Do not place any hard coded external paths in this file
8+
# all libs and includes should be specified in settings.pro
9+
# in the top level qgis directory.
10+
#
11+
#################################################################
12+
13+
#
14+
# This file builds the wfs provider
15+
#
16+
17+
include(../../../settings.pro)
18+
TARGET=grassprovider
19+
TEMPLATE = lib
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
25+
#LIBS += $${GEOSLIBADD}
26+
LIBS += $${QGISCORELIBADD}
27+
LIBS += $${GRASSLIBADD}
28+
29+
DESTDIR=$${QGISPROVIDERDIR}
30+
QT += qt3support svg core gui xml network
31+
message("Building libs into $${DESTDIR}")
32+
33+
CONFIG += qt dll thread debug rtti
34+
HEADERS += qgsgrass.h \
35+
qgsgrassprovider.h
36+
SOURCES += provider.cpp \
37+
qgsgrass.cpp \
38+
qgsgrassprovider.cpp

src/providers/providers.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
#
1111
#################################################################
1212
TEMPLATE = subdirs
13-
SUBDIRS = ogr delimitedtext wfs
13+
SUBDIRS = ogr delimitedtext wfs grass
1414
#grass

0 commit comments

Comments
 (0)