Уровень проверок для Clazy
This commit is contained in:
parent
6afe94efaf
commit
578f42d9ad
@ -8,7 +8,7 @@ function(add_clazy_check)
|
|||||||
if(CLAZY_EXE)
|
if(CLAZY_EXE)
|
||||||
add_custom_target(clazy-check
|
add_custom_target(clazy-check
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
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})
|
add_dependencies(clazy-check ${_target})
|
||||||
else()
|
else()
|
||||||
message(WARNING "Clazy is not found")
|
message(WARNING "Clazy is not found")
|
||||||
|
Loading…
Reference in New Issue
Block a user