This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 8404450fb89346ed244d1c701e5feb5d19f32271 Author: Junbo Zheng <[email protected]> AuthorDate: Sat Sep 12 11:36:33 2026 +0800 CMakeLists: fix missing '$' in dummy.c existence guard The guard tested the literal string "{NUTTX_APPS_BINDIR}/dummy.c" instead of the expanded path, so dummy.c was re-touched after each reconfigure, invalidating its object. Add the missing '$' so the guard checks the intended path. Assisted-by: Claude Code (glm-5.3) <[email protected]> Signed-off-by: Junbo Zheng <[email protected]> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55110defb..84e5e6b2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ if(CONFIG_APPS_DIR) include(nuttx_add_rust) include(nuttx_wasm_interface) nuttx_add_library(apps) - if(NOT EXISTS {NUTTX_APPS_BINDIR}/dummy.c) + if(NOT EXISTS ${NUTTX_APPS_BINDIR}/dummy.c) file(TOUCH ${NUTTX_APPS_BINDIR}/dummy.c) endif() target_sources(apps PRIVATE ${NUTTX_APPS_BINDIR}/dummy.c)
