blob: e9dd0c8cd03a62611a468c350a7ce2dd17eeb22a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 1fc6c66..ec60849 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -60,6 +60,6 @@ if(NOT CPPTRACE_SKIP_UNIT)
)
target_compile_features(unittest PRIVATE cxx_std_20)
target_link_libraries(unittest PRIVATE ${target_name} GTest::gtest_main GTest::gmock_main)
- target_compile_options(unittest PRIVATE ${warning_options} $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-pedantic -Wno-attributes>)
+ target_compile_options(unittest PRIVATE ${warning_options} $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-pedantic -Wno-attributes -ggdb>)
add_test(NAME unittest COMMAND unittest)
endif()
|