Skip to content

Commit 9cfad7a

Browse files
author
timlinux
committed
Build delimited text provider under windows
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5990 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 67eb9fe commit 9cfad7a

File tree

2 files changed

+32
-21
lines changed

2 files changed

+32
-21
lines changed
Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,36 @@
1-
####################################################################
2-
# Qmake project file for QGIS data provider
3-
# This file is used by qmake to generate the Makefile for building
4-
# the QGIS delimited text data provider on Windows
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 gui library - the app is built in a separate pro file
515
#
6-
# delimitedtext.pro,v 1.1 2004/07/15 01:10:40 gsherman Exp
7-
####################################################################
816

17+
include(../../../settings.pro)
18+
TARGET=delimitedtextprovider
919
TEMPLATE = lib
10-
INCLUDEPATH += . $(GEOS)\include \
11-
$(GDAL)\include
12-
LIBS += ..\..\src\libqgis.lib \
13-
$(GEOS)\lib\geos.lib \
14-
$(GDAL)\lib\gdal_i.lib
15-
CONFIG += qt dll thread
16-
DLLDESTDIR= ..\..\win_build\lib\qgis
20+
#suffix debug to target if applicable
21+
CONFIG(debug, debug|release){
22+
TARGET = $$member(TARGET, 0)-debug
23+
}
24+
LIBS += $${GDALLIBADD}
25+
LIBS += $${GEOSLIBADD}
26+
#LIBS += $${PROJLIBADD}
27+
LIBS += $${QGISCORELIBADD}
28+
LIBS += $${QGISGUILIBADD}
29+
LIBS += $${QGISPROJECTIONSELECTORLIBADD}
30+
DESTDIR=$${QGISPROVIDERDIR}
31+
QT += qt3support svg core gui xml network
32+
message("Building libs into $${DESTDIR}")
1733

18-
# Input
34+
CONFIG += qt dll thread debug rtti
1935
HEADERS += qgsdelimitedtextprovider.h
20-
SOURCES += qgsdelimitedtextprovider.cpp \
21-
..\..\src\qgsfeature.cpp \
22-
..\..\src\qgsfield.cpp \
23-
..\..\src\qgsrect.cpp \
24-
..\..\src\qgsfeatureattribute.cpp \
25-
..\..\src\qgspoint.cpp
36+
SOURCES += qgsdelimitedtextprovider.cpp

src/providers/providers.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
#
1111
#################################################################
1212
TEMPLATE = subdirs
13-
SUBDIRS = ogr
13+
SUBDIRS = ogr delimitedtext

0 commit comments

Comments
 (0)