From 2de5915f7a06a75611b63507fe7ee123d127a870 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 28 Feb 2025 15:57:25 -0700 Subject: stack.c.gen: Also inspect .h files --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 483274d..f13226b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,7 @@ function(add_stack_analysis arg_outfile arg_objlib_target) ) add_custom_command( OUTPUT "${arg_outfile}" - COMMAND "${CMAKE_SOURCE_DIR}/build-aux/stack.c.gen" "${PICO_PLATFORM}" "${CMAKE_SOURCE_DIR}" "$" "$,${CMAKE_CURRENT_SOURCE_DIR}>" >"${arg_outfile}" + COMMAND "${CMAKE_SOURCE_DIR}/build-aux/stack.c.gen" "${PICO_PLATFORM}" "${CMAKE_SOURCE_DIR}" "$" >"${arg_outfile}" COMMAND_EXPAND_LISTS DEPENDS "$" "${CMAKE_SOURCE_DIR}/build-aux/stack.c.gen" COMMENT "Calculating ${arg_objlib_target} required stack sizes" -- cgit v1.2.3-2-g168b