Compare commits

...

2 Commits

3 changed files with 3 additions and 3 deletions

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")

View File

@ -31,8 +31,8 @@ include(CMLibCommonTargetProperties)
include(CMLibCommonLibraryTarget)
include(CMLibBuildTypes)
include(CMLibCodeAnalysisPvsStudio)
include(CMLibClangTidy)
include(CMLibClazy)
include(CMLibCodeAnalysisClangTidy)
include(CMLibCodeAnalysisClazy)
include(cotire)
include(CMLibBreathe)