"Fossies" - the Fresh Open Source Software Archive

Member "cppcheck-1.89/console_common.pri" (1 Sep 2019, 571 Bytes) of package /windows/misc/cppcheck-1.89.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # console_common.pri
    2 # These are common definitions for console builds.
    3 
    4 win32 {
    5     CONFIG += embed_manifest_exe console
    6     DEFINES += _CRT_SECURE_NO_WARNINGS
    7     LIBS += -lshlwapi
    8 }
    9 
   10 # Add more strict compiling flags for GCC
   11 contains(QMAKE_CXX, g++) {
   12     QMAKE_CXXFLAGS_WARN_ON += -Wextra -pedantic -Wfloat-equal -Wcast-qual -Wlogical-op -Wno-long-long
   13 }
   14 
   15 # Change Visual Studio compiler (CL) warning level to W4
   16 contains(QMAKE_CXX, cl) {
   17     QMAKE_CXXFLAGS_WARN_ON -= -W3
   18     QMAKE_CXXFLAGS_WARN_ON += -W4
   19 }
   20 
   21 CONFIG(release, debug|release) {
   22     DEFINES += NDEBUG
   23 }