forked from pgmodeler/pgmodeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pgmodeler.pro
49 lines (38 loc) · 1.26 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
# This file contains the main settings to build subprojects
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