This commit is contained in:
2022-10-07 11:22:07 +03:00
parent 8c57311bb0
commit 0f2d983a15
9 changed files with 21 additions and 13 deletions

View File

@ -35,7 +35,7 @@ function(myxx_analyze_pvs_studio target)
endif()
pvs_studio_add_target(TARGET ${target}-analyze-pvs-studio
ANALYZE ${target} RECURSIVE
ANALYZE ${target}
HIDE_HELP
OUTPUT
FORMAT errorfile

View File

@ -40,6 +40,7 @@ if(MYX_CMAKE_WARNINGS_NORMAL)
check_enable_cxx_compiler_flag(-fdiagnostics-show-template-tree)
if(NOT MYX_CMAKE_WARNINGS_VERBOSE)
check_enable_cxx_compiler_flag(-Wno-float-conversion)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "5.999")
check_enable_cxx_compiler_flag(-Wno-attributes)