forked from Mirrors/sngrep
build: add debug compiler flags
This commit is contained in:
parent
4c73fbaa61
commit
35e6b4821d
|
@ -5,6 +5,7 @@ project(sngrep
|
||||||
|
|
||||||
set(PROJECT_NAME sngrep)
|
set(PROJECT_NAME sngrep)
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb -p -g")
|
||||||
add_compile_options(-Wall -pedantic -Wextra)
|
add_compile_options(-Wall -pedantic -Wextra)
|
||||||
|
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/src)
|
include_directories(${CMAKE_SOURCE_DIR}/src)
|
||||||
|
|
Loading…
Reference in New Issue