diff --git a/CMakeLists.txt b/CMakeLists.txt index b2cd755..a7a5d80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})