mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -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()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wall -Werror -pedantic-errors ${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "-Wall -Werror -pedantic-errors ${CMAKE_CXX_FLAGS}")
|
||||||
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb")
|
||||||
|
|
||||||
#
|
#
|
||||||
# Dependencies.
|
# Dependencies.
|
||||||
|
Loading…
Reference in New Issue
Block a user