mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
add gprof for debug
This commit is contained in:
parent
c215b78f1b
commit
8f5161c871
@ -108,8 +108,9 @@ endif()
|
|||||||
|
|
||||||
|
|
||||||
# debug build flags (overwrite default cmake debug flags)
|
# debug build flags (overwrite default cmake debug flags)
|
||||||
set(CMAKE_C_FLAGS_DEBUG "-ggdb")
|
set(CMAKE_C_FLAGS_DEBUG "-ggdb -pg")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb")
|
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -pg")
|
||||||
|
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "-pg")
|
||||||
|
|
||||||
# release build flags (overwrite default cmake release flags)
|
# release build flags (overwrite default cmake release flags)
|
||||||
set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG")
|
set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG")
|
||||||
|
Loading…
Reference in New Issue
Block a user