1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Add debug symbols.
By default, the CMake build system ignores the debhelper instruction to build
with debug symbols, so this is added manually.
Author: Sebastian Humenda <shumenda@gmx.de>
Last-Update: 2025-02-20
Index: ansifilter/CMakeLists.txt
===================================================================
--- ansifilter.orig/CMakeLists.txt
+++ ansifilter/CMakeLists.txt
@@ -16,7 +16,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
# Compile options
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O2 -DNDEBUG -D_FILE_OFFSET_BITS=64")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -O2 -DNDEBUG -D_FILE_OFFSET_BITS=64")
# Directories
set(CORE_DIR src)
|