include($$PWD/build.pri)

QT += core
QT -= gui

CONFIG += qt warn_on
CONFIG -= debug

QMAKE_CXXFLAGS += -Werror

DEBUG_MODE = $$(DEBUG_MODE)
contains(DEBUG_MODE, 1) {
  CONFIG += debug
}

include($$PWD/build.pri)

QT += core
QT -= gui

CONFIG += qt thread warn_on
CONFIG -= debug rtti exceptions

QMAKE_CXXFLAGS += -Werror -fno-rtti -fno-exceptions

DEBUG_MODE = $$(DEBUG_MODE)
contains(DEBUG_MODE, 1) {
  CONFIG += debug
}

Add some additional cflags like disabling rtti and exceptions.
Add some additional cflags like disabling rtti and exceptions.
