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

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 clang-analyze-check-${_target})
else()
message(WARNING "ClangCheck is not found")
message(STATUS "CMLIB warning:")
message(STATUS " Clang-Check analyzer is not found")
endif()
endfunction()

View File

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

View File

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

View File

@ -18,7 +18,8 @@ function(add_pvs_check)
MODE GA:1,2,3;64:1;OP:1,2;CS:1,2)
add_dependencies(pvs-check pvs-check-${_target})
else()
message(WARNING "PVS-Studio is not found")
message(STATUS "CMLIB warning:")
message(STATUS " PVS-Studio analyzer is not found")
endif()
else()
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})
add_dependencies(uncrustify-format uncrustify-format-${_target})
else()
message(WARNING "Uncrustify is not found")
message(STATUS "CMLIB warning:")
message(STATUS " Uncrustify is not found")
endif()
endfunction()