forked from pgmodeler/pgmodeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pgmodeler.pro
59 lines (47 loc) · 1.71 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
#
# Refactored version by: Lisandro Damián Nicanor Pérez Meyer <[email protected]>
# Refactored code: https://github.com/perezmeyer/pgmodeler/tree/shared_libs
#
# Reviewed version by: Raphal Araújo e Silva <[email protected]>
# Reviewed code: https://github.com/pgmodeler/pgmodeler
#
# NOTE: Reviewed code is not a direct merge from refactored version but based upon the
# refactored code, containing almost all changes done by the refactoring author.
include(pgmodeler.pri)
# Subprojects (libraries only)
SUBDIRS = libutils \
libparsers \
libpgmodeler \
libpgconnector \
libobjrenderer \
libpgmodeler_ui
# Include the tests subprojects only on debug mode
CONFIG(debug, debug|release): SUBDIRS += tests
# Include the plugins subprojects only if exists
PLUGINS_SRC_ROOT=$$PWD/plugins/plugins.pro
!exists($$PLUGINS_SRC_ROOT) {
warning("The subproject $$PLUGINS_SRC_ROOT wasn't found! pgModeler will be build without plugins.")
warning("If you want to compile pgModeler with plugins make sure to clone https://github.com/pgmodeler/plugins inside pgModeler's root folder and rerun qmake.")
}
exists($$PLUGINS_SRC_ROOT) {
SUBDIRS += plugins
}
# Including executables subprojects (libraries only)
SUBDIRS += crashhandler \
main-cli \
main
# Deployment settings
samples.files = samples/*
samples.path = $$SAMPLESDIR
schemas.files = schemas/*
schemas.path = $$SCHEMASDIR
lang.files = lang/*
lang.path = $$LANGDIR
conf.files = conf/*
conf.path = $$CONFDIR
doc.files = README.md CHANGELOG.md LICENSE RELEASENOTES.md
doc.path = $$DOCDIR
INSTALLS += samples schemas lang conf doc
CONFIG += qt \
qt