This repository was archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpostgresqlconnector.pro
More file actions
88 lines (68 loc) · 2.65 KB
/
postgresqlconnector.pro
File metadata and controls
88 lines (68 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
##-------------------------------------------------
#
# Project created by QtCreator 2012-09-19T13:18:13
#
#-------------------------------------------------
CONFIG += plugin
TARGET = postgresqlconnector
include(global.pri)
win32{
DLLDESTDIR = $$PWD/../output/$$PLATFORM$$CONF/bin/extensions/$$TARGET
}
DESTDIR = $$PWD/../libraries/$$PLATFORM$$CONF/extensions/$$TARGET
QT -= gui
TEMPLATE = lib
DEFINES += POSTGRESSQLCONNECTOR_LIBRARY
OTHER_FILES += \
postgresqlconnector/postgresqlconnector.json \
postgresqlconnector/scratch_pad.txt
win32{
LIBS += -L$$PWD/../libraries/$$PLATFORM$$CONF/ -lilwiscore \
-L$$PWD/../libraries/$$PLATFORM$$CONF/ -llibgeos
}
linux{
LIBS += -L$$PWD/../libraries/$$PLATFORM$$CONF/ -lilwiscore \
-L$$GEOSLIB/ -lgeos-3.4.2
}
win32:CONFIG(release, debug|release): {
QMAKE_CXXFLAGS_RELEASE += -O2
}
INCLUDEPATH += $$PWD/core \
$$PWD/../external/geos \
$$PWD/../external/postgresql \
DEPENDPATH += $$PWD/core \
$$PWD/../external/geos \
HEADERS += \
postgresqlconnector/postgresqlconnector.h \
postgresqlconnector/postgresqlmodule.h \
postgresqlconnector/postgresqlobjectfactory.h \
postgresqlconnector/postgresqlfeatureconnector.h \
postgresqlconnector/postgresqltableconnector.h \
postgresqlconnector/postgresqlcatalogexplorer.h \
postgresqlconnector/postgresqldatabaseutil.h \
postgresqlconnector/postgresqltableloader.h \
postgresqlconnector/postgresqlfeaturecoverageloader.h \
postgresqlconnector/sqlstatementhelper.h \
postgresqlconnector/postgresqlconnection.h \
postgresqlconnector/postgresqlrasterconnector.h \
postgresqlconnector/postgresqlparameters.h
SOURCES += \
postgresqlconnector/postgresqlconnector.cpp \
postgresqlconnector/postgresqlmodule.cpp \
postgresqlconnector/postgresqlobjectfactory.cpp \
postgresqlconnector/postgresqlfeatureconnector.cpp \
postgresqlconnector/postgresqltableconnector.cpp \
postgresqlconnector/postgresqlcatalogexplorer.cpp \
postgresqlconnector/postgresqltableloader.cpp \
postgresqlconnector/postgresqlfeaturecoverageloader.cpp \
postgresqlconnector/sqlstatementhelper.cpp \
postgresqlconnector/postgresqlconnection.cpp \
postgresqlconnector/PostgresqlDatabaseUtil.cpp \
postgresqlconnector/postgresqlrasterconnector.cpp \
postgresqlconnector/postgresqlparameters.cpp
linux{
dependencies.files = $$GEOSLIB/libgeos-3.4.2.so
dependencies.path = $$PWD/../output/$$PLATFORM$$CONF/bin/extensions/$$TARGET
target.path = $$PWD/../output/$$PLATFORM$$CONF/bin/extensions/$$TARGET
INSTALLS += target dependencies
}