diff --git a/cli/cli.pro b/cli/cli.pro index 536337268..0d285d9eb 100644 --- a/cli/cli.pro +++ b/cli/cli.pro @@ -14,6 +14,10 @@ SOURCES += main.cpp \ HEADERS += cppcheckexecutor.cpp \ threadexecutor.cpp +CONFIG(release, debug|release) { + DEFINES += NDEBUG +} + win32 { CONFIG += embed_manifest_exe console RC_FILE = cppcheck.rc