Тест
This commit is contained in:
parent
67cbb07e51
commit
39111c890a
@ -23,9 +23,9 @@ function(add_pvs_check target)
|
||||
set(target_type PRIVATE)
|
||||
endif()
|
||||
if(MSVC)
|
||||
target_compile_options(${target} ${target_type} /FI "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
target_compile_options(${target} BEFORE ${target_type} /FI "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
else() # GCC/Clang
|
||||
target_compile_options(${target} ${target_type} -include "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
target_compile_options(${target} BEFORE ${target_type} -include "${CMAKE_BINARY_DIR}/include/pvs_studio.hpp")
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "CMLIB warning:")
|
||||
|
Loading…
Reference in New Issue
Block a user