forked from live-keys/livekeys
-
Notifications
You must be signed in to change notification settings - Fork 1
/
livekeys.pro
55 lines (43 loc) · 1.45 KB
/
livekeys.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
# If you need to understand the build process in detail with all its magic,
# look at the following files:
# .qmake.config
# project/functions.pri
#
# They are also included in this confiuration for completeness and easy access.
# --- Version Check ---
# Some linux distributions have qt version 4 already installed. Sometimes this
# can lead to running the wrong qmake version. Notify the user:
!qtVersionCheck(5, 6)::error( \
This project requires at least Qt version 5.6. \
Make sure you have Qt 5.6 installed and running the correct qmake. \
)
# --- Project structure ---
TEMPLATE = subdirs
SUBDIRS += \
application \
lib \
plugins \
tests
# --- Subdir configurations ---
application.subdir = $$PWD/application
plugins.subdir = $$PWD/plugins
tests.subdir = $$PWD/tests
# --- Dependency configuration ---
application.depends = lib
plugins.depends = lib
tests.depends = lib
# Include the global configuration files since otherwise they would never show
# up in your project
OTHER_FILES += \
.qmake.conf
# Set CONFIG_DIR_IN_PROJECT_TREE in your build environment for quick access
# to qmake config files.
# This may require re-opening the project in the qtcreator since it has some
# issues with its file awareness
!defined(CONFIG_DIR_IN_PROJECT_TREE, var){
OTHER_FILES *= $$CONFIG_DIR/*.pri
}
OTHER_FILES *= livekeys.json
OTHER_FILES *= project/*.pri
OTHER_FILES *= doc/src/Doxyfile
OTHER_FILES *= doc/pages/*.md