forked from kflog-project/KFLog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkflog.pro
46 lines (39 loc) · 1.09 KB
/
kflog.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
###############################################################################
#
# qmake project file for the whole KFLog build
#
###############################################################################
# version check for Qt 4.8
contains(QT_VERSION, ^4\\.[8]\\..*) {
MY_QT_REL=4_8
}
# Qt5 needs the QtWidgets library
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
DEFINES += QT_5
}
# Version check for both Qt 4.x releases. One must be installed, if Qt 5.x is not
# installed.
lessThan(QT_MAJOR_VERSION, 5) {
! contains(MY_QT_REL, 4_8) {
message("Cannot build KFLog with Qt version $${QT_VERSION}.")
error("Use at least Qt 4.8 or higher!")
}
}
TEMPLATE = subdirs
!win32 {
SUBDIRS = kflog \
kflog/kfrcai \
kflog/kfrfil \
kflog/kfrfla \
kflog/kfrgcs \
kflog/kfrgmn \
kflog/kfrxsp
# FIXME: Under Qt5 opengl_igc is crashing in virtualbox
lessThan(QT_MAJOR_VERSION, 5) {
SUBDIRS += kflog/opengl_igc
}
}
win32 {
SUBDIRS = kflog
}