-
Notifications
You must be signed in to change notification settings - Fork 1
/
vk_config.pri
46 lines (41 loc) · 1.47 KB
/
vk_config.pri
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
######################################################################
# Valkyrie qmake configuration file
#
# Note: By default PREFIX="/usr/local". To change this simply do:
# qmake "PREFIX=<your_dir>" && make && make install
######################################################################
NAME = valkyrie
VERSION = 2.0.1.SVN
PACKAGE = $$NAME-$$VERSION
######################################################################
# Set a default value for PREFIX (etc) in the generated makefiles
# Note: ignore INSTALL_ROOT: it's a qt special, can't be set from here
isEmpty(PREFIX) {
PREFIX = /usr/local
}
isEmpty(BINDIR) {
BINDIR = $$PREFIX/bin
}
isEmpty(DATADIR) {
DATADIR = $$PREFIX/share
}
######################################################################
# Install paths relative to $$PREFIX:
target.path = $$BINDIR
doc.path = $$DATADIR/doc/$$PACKAGE
doc_imgs.path = $$DATADIR/doc/$$PACKAGE/images
######################################################################
# Qt modules
QT += xml
QT += widgets
greaterThan(QT_MAJOR_VERSION, 5) {
QT += core5compat
}
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000
######################################################################
# Project configuration & compiler options
CONFIG += qt
CONFIG += warn_on # compiler should issue max warnings
CONFIG += silent # make --quiet
#CONFIG += release # release/debug
CONFIG += debug # release/debug