Уровень проверок для Clazy

This commit is contained in:
Andrei Astafev 2019-06-15 16:57:20 +03:00
parent 6afe94efaf
commit 578f42d9ad

View File

@ -8,7 +8,7 @@ function(add_clazy_check)
if(CLAZY_EXE)
add_custom_target(clazy-check
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND ${CLAZY_EXE} -extra-arg="-Wno-unknown-warning-option" -p ${CMAKE_BINARY_DIR} ${_sources})
COMMAND ${CLAZY_EXE} -checks=level2 -extra-arg="-Wno-unknown-warning-option" -p ${CMAKE_BINARY_DIR} ${_sources})
add_dependencies(clazy-check ${_target})
else()
message(WARNING "Clazy is not found")