chore(cmake): record gcc switches for debugging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-12-30 22:34:22 +01:00
parent 6408b1ded7
commit 928011dd54
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -39,6 +39,8 @@ add_subdirectory(lib/da_threading EXCLUDE_FROM_ALL)
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -grecord-gcc-switches")
# Produce debugging information in the operating system's native format.
# Level 3 includes extra information, such as all the macro definitions
# present in the program. Some debuggers support macro expansion when you