File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed
Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/ClioVersion.cmake")
22
33set (CPACK_PACKAGING_INSTALL_PREFIX "/opt/clio" )
44set (CPACK_PACKAGE_VERSION "${CLIO_VERSION} " )
5- set (CPACK_STRIP_FILES TRUE )
65
76include (pkg/deb)
87include (CPack)
Original file line number Diff line number Diff line change @@ -79,3 +79,6 @@ if (time_trace)
7979endif ()
8080
8181target_compile_options (clio_options INTERFACE ${COMPILER_FLAGS} )
82+
83+ # Add debug symbols for all builds, including Release. This is needed to get useful stack traces in production.
84+ target_compile_options (clio_options INTERFACE -g)
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ target_sources(clio_integration_tests
1515 TestGlobals.cpp
1616 Main.cpp)
1717
18- # Fix for dwarf5 bug on ci. IS STILL NEEDED???
19- target_compile_options (clio_options INTERFACE -gdwarf-4)
20-
2118target_include_directories (clio_integration_tests PRIVATE .)
2219target_link_libraries (clio_integration_tests PUBLIC clio_testing_common PRIVATE Boost::program_options)
2320set_target_properties (clio_integration_tests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} )
Original file line number Diff line number Diff line change @@ -222,9 +222,6 @@ target_sources(clio_tests
222222# See https://github.com/google/googletest/issues/3475
223223gtest_discover_tests(clio_tests DISCOVERY_TIMEOUT 90)
224224
225- # Fix for dwarf5 bug on ci
226- target_compile_options (clio_options INTERFACE -gdwarf-4)
227-
228225target_include_directories (clio_tests PRIVATE .)
229226target_link_libraries (clio_tests PUBLIC clio_testing_common PRIVATE spdlog::spdlog)
230227set_target_properties (clio_tests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} )
You can’t perform that action at this time.
0 commit comments