mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-29 05:12:00 +08:00
Work on better CI integration.
This commit is contained in:
parent
fdf5d37383
commit
61fd23d9cd
@ -13,8 +13,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES MSVC)
|
||||
target_compile_definitions(filesystem_test PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
if(DEFINED ENV{GHC_COVERAGE})
|
||||
target_compile_options(filesystem_test_cov PRIVATE "$<$<CONFIG:DEBUG>:--coverage>")
|
||||
target_link_libraries(filesystem_test_cov PUBLIC ghc_filesystem PRIVATE --coverage)
|
||||
target_compile_options(filesystem_test PRIVATE "--coverage")
|
||||
set_property(TARGET filesystem_test APPEND_STRING PROPERTY LINK_FLAGS " --coverage")
|
||||
endif()
|
||||
ParseAndAddCatchTests(filesystem_test filesystem_test)
|
||||
AddExecutableWithStdFS(std_filesystem_test filesystem_test.cpp catch.hpp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user