Проба
This commit is contained in:
parent
e3957adb47
commit
eeae991b4c
@ -17,9 +17,9 @@ function(add_pvs_check target)
|
|||||||
add_dependencies(pvs-check pvs-check-${target})
|
add_dependencies(pvs-check pvs-check-${target})
|
||||||
configure_file("${CMLIB_MODULE_DIR}/hpp/pvs_studio.hpp.in" "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
configure_file("${CMLIB_MODULE_DIR}/hpp/pvs_studio.hpp.in" "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_compile_options(${target} INTERFACE /FI "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
target_compile_options(${target} PUBLIC /FI "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||||
else() # GCC/Clang
|
else() # GCC/Clang
|
||||||
target_compile_options(${target} INTERFACE -include "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
target_compile_options(${target} PUBLIC -include "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
message(STATUS "CMLIB warning:")
|
message(STATUS "CMLIB warning:")
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
//-V::801
|
||||||
//-V813_MINSIZE=33
|
//-V813_MINSIZE=33
|
||||||
|
|
||||||
#endif // PVS_STUDIO_HPP_
|
#endif // PVS_STUDIO_HPP_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user