cppcheck/cli/cli.pro

35 lines
786 B
Prolog
Raw Normal View History

TEMPLATE = app
TARGET = cppcheck
DEPENDPATH += .
2009-10-25 21:20:42 +01:00
INCLUDEPATH += . ../lib
OBJECTS_DIR = temp
CONFIG += warn_on
CONFIG -= qt app_bundle
include($$PWD/../lib/lib.pri)
2009-10-25 21:20:42 +01:00
SOURCES += main.cpp \
cppcheckexecutor.cpp \
threadexecutor.cpp
HEADERS += cppcheckexecutor.cpp \
threadexecutor.cpp
win32 {
CONFIG += embed_manifest_exe console
RC_FILE = cppcheck.rc
HEADERS += resource.h
LIBS += -lshlwapi
}
# Add more strict compiling flags for GCC
# These flags are used in original (not generated by QMake) makefiles
contains(QMAKE_CXX, g++) {
QMAKE_CXXFLAGS_WARN_ON += -Wextra -pedantic
}
# Change Visual Studio compiler (CL) warning level to W4
contains(QMAKE_CXX, cl) {
QMAKE_CXXFLAGS_WARN_ON -= -W3
QMAKE_CXXFLAGS_WARN_ON += -W4
}