From 6084a5a061d09d2c4dc6abe0681e637691420b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 28 Nov 2009 17:50:53 +0100 Subject: [PATCH] cli: in release use the NDEBUG to avoid assertions --- cli/cli.pro | 4 ++++ 1 file changed, 4 insertions(+) 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