Compare commits
No commits in common. "41e27fb2514c2ac1b29ffa558e9ac684aee77075" and "e3600e96ce859625abbcbcede84c81ca3c3da765" have entirely different histories.
41e27fb251
...
e3600e96ce
@ -15,12 +15,6 @@ function(add_pvs_check target)
|
||||
ARGS --analysis-mode 29 --exclude-path ${CMAKE_CURRENT_BINARY_DIR}/${target}_autogen
|
||||
MODE GA:1,2,3;64:1;OP:1,2;CS:1,2)
|
||||
add_dependencies(pvs-check pvs-check-${target})
|
||||
configure_file("${CMLIB_MODULE_DIR}/hpp/pvs_studio.hpp.in" "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
if(MSVC)
|
||||
target_compile_options(${target} PRIVATE /FI "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
else() # GCC/Clang
|
||||
target_compile_options(${target} PRIVATE -include "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "CMLIB warning:")
|
||||
message(STATUS " PVS-Studio analyzer is not found")
|
||||
|
@ -1,8 +0,0 @@
|
||||
#ifndef PVS_STUDIO_HPP_
|
||||
#define PVS_STUDIO_HPP_
|
||||
|
||||
#pragma once
|
||||
|
||||
//-V813_MINSIZE=33
|
||||
|
||||
#endif // PVS_STUDIO_HPP_
|
Loading…
Reference in New Issue
Block a user