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

View File

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