Цели для PVS-Studio
This commit is contained in:
parent
3b9e0373b5
commit
e735546b2d
@ -48,28 +48,40 @@ function(myxx)
|
|||||||
get_target_property(__target_type ${__iter} TYPE)
|
get_target_property(__target_type ${__iter} TYPE)
|
||||||
|
|
||||||
if((NOT ${__target_type} STREQUAL "UTILITY") AND
|
if((NOT ${__target_type} STREQUAL "UTILITY") AND
|
||||||
(NOT ${__target_type} STREQUAL "INTERFACE_LIBRARY") AND
|
|
||||||
(NOT ${__iter} MATCHES ".*_shared$" ) AND
|
(NOT ${__iter} MATCHES ".*_shared$" ) AND
|
||||||
(NOT ${__iter} MATCHES ".*_static$" )
|
(NOT ${__iter} MATCHES ".*_static$" )
|
||||||
)
|
)
|
||||||
myxx_code_coverage(${__iter})
|
myxx_analyze_pvs_studio(${__iter})
|
||||||
if(MYXX_CMAKE_CLANG_TIDY_FIX)
|
if(MYXX_CMAKE_CLANG_TIDY_FIX)
|
||||||
|
myxx_analyze_clang_tidy(${__iter} FIX)
|
||||||
|
else()
|
||||||
myxx_analyze_clang_tidy(${__iter})
|
myxx_analyze_clang_tidy(${__iter})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MYXX_CMAKE_CLANG_TIDY_NAMING_FIX)
|
if(MYXX_CMAKE_CLANG_TIDY_NAMING_FIX)
|
||||||
|
myxx_analyze_clang_tidy_naming(${__iter} FIX)
|
||||||
|
else()
|
||||||
myxx_analyze_clang_tidy_naming(${__iter})
|
myxx_analyze_clang_tidy_naming(${__iter})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MYXX_CMAKE_CLANG_CHECK_FIX)
|
if(MYXX_CMAKE_CLANG_CHECK_FIX)
|
||||||
|
myxx_analyze_clang_check(${__iter} FIX)
|
||||||
|
else()
|
||||||
myxx_analyze_clang_check(${__iter})
|
myxx_analyze_clang_check(${__iter})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MYXX_CMAKE_CLAZY_FIX)
|
if(MYXX_CMAKE_CLAZY_FIX)
|
||||||
myxx_analyze_clazy(${__iter} FIX)
|
myxx_analyze_clazy(${__iter} FIX)
|
||||||
else()
|
else()
|
||||||
myxx_analyze_clazy(${__iter})
|
myxx_analyze_clazy(${__iter})
|
||||||
endif()
|
endif()
|
||||||
myxx_analyze_pvs_studio(${__iter})
|
|
||||||
|
if(NOT ${__target_type} STREQUAL "INTERFACE_LIBRARY")
|
||||||
|
myxx_code_coverage(${__iter})
|
||||||
myxx_add_sanitizers(${__iter})
|
myxx_add_sanitizers(${__iter})
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction(myxx)
|
endfunction(myxx)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user