Генерируемые файлы исключены из проверки

This commit is contained in:
Andrei Astafev 2019-10-04 06:57:28 +03:00
parent aba632a1d7
commit 6aa56df011

View File

@ -14,7 +14,8 @@ function(add_pvs_check)
HIDE_HELP HIDE_HELP
OUTPUT FORMAT errorfile OUTPUT FORMAT errorfile
CONFIG "${CMAKE_BINARY_DIR}/PVS-Studio-${_target}.cfg" 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) MODE GA:1,2,3;64:1;OP:1,2;CS:1,2)
add_dependencies(pvs-check pvs-check-${_target}) add_dependencies(pvs-check pvs-check-${_target})
else() else()