nuttx-apps/interpreters
Alan Carvalho de Assis cc8a6c8b85 cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR)
This companion change updates the nuttx-apps CMake build to use
NuttX’s NUTTX_DIR and NUTTX_BINARY_DIR instead of CMAKE_SOURCE_DIR
and CMAKE_BINARY_DIR, which incorrectly refer to the outermost project
when NuttX is embedded via add_subdirectory(). Since apps/ is itself
included from NuttX’s top-level CMakeLists.txt, these variables were
effectively being used as references to NuttX’s root and inherited
the same bug fixed in the matching NuttX change for #19697. All
self-referencing uses are replaced while intentionally preserving
standalone projects and unrelated custom variables or hardcoded paths.
The change affects only the CMake build system, preserves normal
standalone behavior, and was tested with sim:nsh both standalone and
embedded, with apps such as hello and ostest successfully built and
available in NSH.

Fixes #19697.

Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2026-08-09 10:43:01 -03:00
..
bas interpreters: Fix spelling errors 2026-02-18 11:01:02 +01:00
berry cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
duktape interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
ficl interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
jimtcl cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
lua cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
luajit interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
luamodules interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
minibasic interpreters: Fix spelling errors 2026-02-18 11:01:02 +01:00
mquickjs interpreters: Add mquickjs JavaScript interpreter integration 2026-01-07 09:44:19 +08:00
python interpreters/python: support build without network 2026-07-17 08:37:30 +08:00
quickjs cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
toywasm toywasm: regen for v67.0.0 2025-04-13 11:31:36 +08:00
wamr cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
wasm3 interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
Make.defs interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00
Makefile interpreters: migrate to SPDX identifier 2024-12-21 13:53:10 +08:00