forked from Dmitry-Me/cppcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.pri
More file actions
38 lines (32 loc) · 976 Bytes
/
common.pri
File metadata and controls
38 lines (32 loc) · 976 Bytes
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
CONFIG += qtestlib
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets # In Qt 5 widgets are in separate module
QT += printsupport # In Qt 5 QPrinter/QPrintDialog are in separate module
}
INCLUDEPATH += $${PWD}/..
LIBS += -L$$PWD/../../externals
INCLUDEPATH += $${PWD}/../../externals
include($${PWD}/../../lib/lib.pri)
# GUI
SOURCES += $${PWD}/../erroritem.cpp \
$${PWD}/../filelist.cpp \
$${PWD}/../projectfile.cpp \
$${PWD}/../report.cpp \
$${PWD}/../translationhandler.cpp \
$${PWD}/../xmlreport.cpp \
$${PWD}/../xmlreportv1.cpp \
$${PWD}/../xmlreportv2.cpp
HEADERS += $${PWD}/../erroritem.h \
$${PWD}/../filelist.h \
$${PWD}/../projectfile.h \
$${PWD}/../report.h \
$${PWD}/../translationhandler.h \
$${PWD}/../xmlreport.h \
$${PWD}/../xmlreportv1.h \
$${PWD}/../xmlreportv2.h
contains(QMAKE_CC, gcc) {
QMAKE_CXXFLAGS += -std=c++11
}
contains(QMAKE_CXX, clang++) {
QMAKE_CXXFLAGS += -std=c++11
}