mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
Use -ggdb in debug builds.
This makes it possible to see source code in "perf annotate" and such.
This commit is contained in:
parent
84406a8123
commit
6cd2d75846
@ -40,6 +40,7 @@ else()
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Werror -pedantic-errors ${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb")
|
||||
|
||||
#
|
||||
# Dependencies.
|
||||
|
Loading…
Reference in New Issue
Block a user