forked from laserpants/qtzeroconf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
project_settings.pri
21 lines (15 loc) · 1.03 KB
/
project_settings.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PROJ_DIR = $$PWD
QT -= gui
QT += core
CONFIG += c++11 debug
VERSION = 0.0.1
DESTDIR = $$PROJ_DIR/bin
MOC_DIR = .moc
UI_DIR = .ui
RCC_DIR = .rcc
OBJECTS_DIR = .obj
INCLUDEPATH += $$PROJ_DIR/include
QMAKE_CXXFLAGS += -Wall -Wcast-align -Wextra -Wfloat-equal -Wformat=2 -Wformat-nonliteral -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Woverlength-strings -Wparentheses -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsequence-point -Wsign-compare -Wswitch -Wuninitialized -Wunknown-pragmas -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -O3
*clang* {
QMAKE_CXXFLAGS += -Wdeprecated-implementations -Wfour-char-constants -Wimplicit-atomic-properties -Wnewline-eof -Wswitch-default -Wshadow -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wstrict-selector-match -Wundeclared-selector
}