Add stack usage diagonstic options
This commit is contained in:
parent
22f87a9c9e
commit
ba5f3206bf
@ -17,6 +17,9 @@ if (EXCEPTIONS STREQUAL OFF)
|
||||
endif()
|
||||
|
||||
add_compile_definitions(ETL_THROW_EXCEPTIONS)
|
||||
add_compile_options("-fstack-usage")
|
||||
add_compile_options("-fcallgraph-info=su")
|
||||
add_compile_options("-Wstack-usage=1000")
|
||||
add_link_options("-Wl,--print-memory-usage")
|
||||
|
||||
add_executable(${PROJECT_NAME})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user