Изменён уровень предупреждения

This commit is contained in:
Andrei Astafev 2019-08-10 10:30:01 +03:00
parent 98e9784863
commit 948774272c
5 changed files with 10 additions and 5 deletions

View File

@ -19,7 +19,8 @@ function(add_clang_analyze_check)
add_dependencies(clang-analyze-check-${_target} ${_target}) add_dependencies(clang-analyze-check-${_target} ${_target})
add_dependencies(clang-analyze-check clang-analyze-check-${_target}) add_dependencies(clang-analyze-check clang-analyze-check-${_target})
else() else()
message(WARNING "ClangCheck is not found") message(STATUS "CMLIB warning:")
message(STATUS " Clang-Check analyzer is not found")
endif() endif()
endfunction() endfunction()

View File

@ -19,7 +19,8 @@ function(add_clang_tidy_check)
add_dependencies(clang-tidy-check-${_target} ${_target}) add_dependencies(clang-tidy-check-${_target} ${_target})
add_dependencies(clang-tidy-check clang-tidy-check-${_target}) add_dependencies(clang-tidy-check clang-tidy-check-${_target})
else() else()
message(WARNING "ClangTidy is not found") message(STATUS "CMLIB warning:")
message(STATUS " ClangTidy analyzer is not found")
endif() endif()
endfunction() endfunction()

View File

@ -15,7 +15,8 @@ function(add_clazy_check)
add_dependencies(clazy-check-${_target} ${_target}) add_dependencies(clazy-check-${_target} ${_target})
add_dependencies(clazy-check clazy-check-${_target}) add_dependencies(clazy-check clazy-check-${_target})
else() else()
message(WARNING "Clazy is not found") message(STATUS "CMLIB warning:")
message(STATUS " Clazy analyzer is not found")
endif() endif()
endfunction() endfunction()

View File

@ -18,7 +18,8 @@ function(add_pvs_check)
MODE GA:1,2,3;64:1;OP:1,2;CS:1,2) MODE GA:1,2,3;64:1;OP:1,2;CS:1,2)
add_dependencies(pvs-check pvs-check-${_target}) add_dependencies(pvs-check pvs-check-${_target})
else() else()
message(WARNING "PVS-Studio is not found") message(STATUS "CMLIB warning:")
message(STATUS " PVS-Studio analyzer is not found")
endif() endif()
else() else()
message(WARNING "Option CMAKE_EXPORT_COMPILE_COMMANDS is not set. PVS checks will be disabled.") message(WARNING "Option CMAKE_EXPORT_COMPILE_COMMANDS is not set. PVS checks will be disabled.")

View File

@ -16,6 +16,7 @@ function(add_uncrustify_format)
COMMAND ${UNCRUSTIFY_EXE} ${OPTS} ${_sources}) COMMAND ${UNCRUSTIFY_EXE} ${OPTS} ${_sources})
add_dependencies(uncrustify-format uncrustify-format-${_target}) add_dependencies(uncrustify-format uncrustify-format-${_target})
else() else()
message(WARNING "Uncrustify is not found") message(STATUS "CMLIB warning:")
message(STATUS " Uncrustify is not found")
endif() endif()
endfunction() endfunction()