forked from pgmodeler/pgmodeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpgmodeler.pro
50 lines (42 loc) · 1.47 KB
/
pgmodeler.pro
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
CONFIG += ordered qt stl rtti exceptions warn_on
unix: CONFIG += link_pkgconfig
unix: PKGCONFIG += libxml-2.0 libpq
unix:CONFIG += x11
windows:CONFIG += windows
unix:LIB_PREFIX = lib
unix:LIB_EXT = so
windows:LIB_EXT = dll
SUBDIRS = libutil \
libparsers \
libconexbd \
libpgmodeler \
libobjrenderer \
libpgmodeler_ui \
crashhandler \
main # \
#plugins/dummyplugin
LIBUTIL=$${LIB_PREFIX}util.$${LIB_EXT}
LIBPARSERS=$${LIB_PREFIX}parsers.$${LIB_EXT}
LIBCONEXBD=$${LIB_PREFIX}conexbd.$${LIB_EXT}
LIBPGMODELER=$${LIB_PREFIX}pgmodeler.$${LIB_EXT}
LIBOBJRENDERER=$${LIB_PREFIX}objrenderer.$${LIB_EXT}
LIBPGMODELERUI=$${LIB_PREFIX}pgmodeler_ui.$${LIB_EXT}
QT += core gui qt3support
TEMPLATE = subdirs
MOC_DIR = moc
OBJECTS_DIR = obj
UI_DIR = src
INCLUDEPATH += $$PWD/libutil/src \
$$PWD/libconexbd/src \
$$PWD/libparsers/src \
$$PWD/libpgmodeler/src \
$$PWD/libobjrenderer/src \
$$PWD/libpgmodeler_ui/src
unix:LIBS = -lxml2 -lpq
windows:INCLUDEPATH += C:/QtSDK/mingw/include C:/PostgreSQL/9.2/include
windows:LIBS = C:/QtSDK/mingw/bin/libxml2.dll C:/PostgreSQL/9.2/bin/libpq.dll
sources.files = samples schemas lang conf README.md COMPILING.md PLUGINS.md CHANGELOG.md LICENSE libpgmodeler_ui/res/imagens/pgmodeler_logo.png
unix:sources.files += start-pgmodeler.sh
windows:sources.files += start-pgmodeler.bat
sources.path = build/
INSTALLS += sources