mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-29 05:01:58 +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)
|
target_compile_definitions(filesystem_test PRIVATE _CRT_SECURE_NO_WARNINGS)
|
||||||
endif()
|
endif()
|
||||||
if(DEFINED ENV{GHC_COVERAGE})
|
if(DEFINED ENV{GHC_COVERAGE})
|
||||||
target_compile_options(filesystem_test_cov PRIVATE "$<$<CONFIG:DEBUG>:--coverage>")
|
target_compile_options(filesystem_test PRIVATE "--coverage")
|
||||||
target_link_libraries(filesystem_test_cov PUBLIC ghc_filesystem PRIVATE --coverage)
|
set_property(TARGET filesystem_test APPEND_STRING PROPERTY LINK_FLAGS " --coverage")
|
||||||
endif()
|
endif()
|
||||||
ParseAndAddCatchTests(filesystem_test filesystem_test)
|
ParseAndAddCatchTests(filesystem_test filesystem_test)
|
||||||
AddExecutableWithStdFS(std_filesystem_test filesystem_test.cpp catch.hpp)
|
AddExecutableWithStdFS(std_filesystem_test filesystem_test.cpp catch.hpp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user