Форматирование

This commit is contained in:
Andrei Astafev 2021-12-21 17:21:12 +03:00
parent d321b9aed2
commit 7927d5cba8

View File

@ -20,14 +20,13 @@ function(myx_cmake_analyze_pvs_studio target)
"//-V813_MINSIZE=33\n" "//-V813_MINSIZE=33\n"
"#endif // MYX_CMAKE_PVS_STUDIO_HEADER_HPP_\n") "#endif // MYX_CMAKE_PVS_STUDIO_HEADER_HPP_\n")
pvs_studio_add_target(TARGET myx-cmake-analyze-pvs-studio pvs_studio_add_target(TARGET myx-cmake-analyze-pvs-studio
CONFIG ${PVS_STUDIO_CONFIG} LOG
DEPENDS ${PVS_STUDIO_CONFIG} COMPILE_COMMANDS
COMPILE_COMMANDS HIDE_HELP
HIDE_HELP OUTPUT FORMAT errorfile
OUTPUT FORMAT errorfile ARGS --exclude-path ${CMAKE_CURRENT_BINARY_DIR}/${target}_autogen
ARGS --exclude-path ${CMAKE_CURRENT_BINARY_DIR}/${target}_autogen 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)
get_target_property(__target_type ${target} TYPE) get_target_property(__target_type ${target} TYPE)
if(${__target_type} STREQUAL INTERFACE_LIBRARY) if(${__target_type} STREQUAL INTERFACE_LIBRARY)