forked from pgmodeler/pgmodeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pgmodeler.pro
59 lines (46 loc) · 1.57 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
51
52
53
54
55
56
57
58
59
# This file contains the main settings to build subprojects
include(pgmodeler.pri)
# Subprojects (libraries only)
SUBDIRS = libs/$$LIBUTILS \
libs/$$LIBPARSERS \
libs/$$LIBCORE \
libs/$$LIBCONNECTOR \
libs/$$LIBCANVAS \
libs/$$LIBGUI \
libs/$$LIBCLI
# Including executables subprojects
SUBDIRS += apps/pgmodeler \
apps/pgmodeler-cli \
apps/pgmodeler-ch \
apps/pgmodeler-se
!exists($$PLUGINS_PRO_FILE) {
!isEqual(PRIVATE_PLUGINS, true) {
warning("The subproject $$PLUGINS_SRC_ROOT wasn't found! pgModeler will be build without plug-ins.")
warning("If you want to compile pgModeler with plug-ins make sure to clone https://github.com/pgmodeler/plugins inside pgModeler's root folder and rerun qmake.")
}
isEqual(PRIVATE_PLUGINS, true) {
error("The private plug-ins build was specified but the subproject $$PLUGINS_SRC_ROOT wasn't found! Aborting.")
}
}
exists($$PLUGINS_PRO_FILE) {
SUBDIRS += $$PLUGINS_FOLDER
}
# Include the tests subprojects only on debug mode when
# NO_TESTS is set to true
CONFIG(debug, debug|release): {
!isEqual(NO_TESTS, true):SUBDIRS += tests
}
# Deployment settings
isEqual(DEMO_VERSION, true): samples.files = assets/samples/demo.dbm
!isEqual(DEMO_VERSION, true): samples.files = assets/samples/*
samples.path = $$SAMPLESDIR
schemas.files = assets/schemas/*
schemas.path = $$SCHEMASDIR
lang.files = assets/lang/*
lang.path = $$LANGDIR
conf.files = assets/conf/*
conf.path = $$CONFDIR
doc.files = README.md CHANGELOG.md LICENSE RELEASENOTES.md
doc.path = $$DOCDIR
INSTALLS += samples schemas lang conf doc
CONFIG += qt