From 6aa56df0113d831d986b27b785ed816cf715dba5 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Fri, 4 Oct 2019 06:57:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=B5=D0=BD=D0=B5=D1=80=D0=B8=D1=80?= =?UTF-8?q?=D1=83=D0=B5=D0=BC=D1=8B=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B?= =?UTF-8?q?=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D1=8B=20?= =?UTF-8?q?=D0=B8=D0=B7=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMLibCodeAnalysisPvsStudio.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMLibCodeAnalysisPvsStudio.cmake b/CMLibCodeAnalysisPvsStudio.cmake index c7bac77..a8e9e09 100644 --- a/CMLibCodeAnalysisPvsStudio.cmake +++ b/CMLibCodeAnalysisPvsStudio.cmake @@ -14,7 +14,8 @@ function(add_pvs_check) HIDE_HELP OUTPUT FORMAT errorfile CONFIG "${CMAKE_BINARY_DIR}/PVS-Studio-${_target}.cfg" - CFG_TEXT "analysis-mode=29" + ARGS --analysis-mode 29 + --exclude-path ${CMAKE_CURRENT_BINARY_DIR}/${_target}_autogen MODE GA:1,2,3;64:1;OP:1,2;CS:1,2) add_dependencies(pvs-check pvs-check-${_target}) else()