Skip to content

Commit 2f650bd

Browse files
committed
msvc warning message for coverage
1 parent 41da837 commit 2f650bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/makeTests.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ if(CONNECTION_MACHINE_CODE_COVERAGE)
4242
add_compile_options(--coverage -O0 -g)
4343
add_link_options(--coverage)
4444
elseif(MSVC)
45+
message(WARNING "Code coverage does nothing with MSVC. Use normal Tests build, and use opencpp_coverage.cmd")
4546
else()
4647
message(WARNING "Code coverage not working with: \"${CMAKE_CXX_COMPILER_ID}\"")
4748
endif()

0 commit comments

Comments
 (0)