From 9afdac17dcc8956fd795797bfc5b6e1c09285342 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 08 3月 2020 21:27:16 +0800 Subject: [PATCH] Issues #14 and #6 --- test/library/os/CMakeLists.txt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/test/library/os/CMakeLists.txt b/test/library/os/CMakeLists.txt index 2cda53e..4faf092 100644 --- a/test/library/os/CMakeLists.txt +++ b/test/library/os/CMakeLists.txt @@ -9,4 +9,8 @@ Boost::system ) -ADD_TEST(NAME test_network COMMAND test_network) \ No newline at end of file +ADD_TEST(NAME test_network COMMAND test_network) + +if(CODE_COVERAGE AND UNIX) + target_compile_options(test_network PUBLIC -O0 -g --coverage) +endif(CODE_COVERAGE AND UNIX) -- Gitblit v1.9.1