nuttx-apps/graphics
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
..
ft80x include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
input include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
jpgresizetool graphics/jpgresizetool: Add libjpeg resize tool 2025-10-27 00:14:45 +08:00
libjpeg Add JPEG compressor support to Makefile 2025-07-17 13:54:22 +08:00
libyuv cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
lvgl cmake: Use NUTTX(_DIR/_BINARY_DIR) instead of CMAKE(_SOURCE_DIR/BINARY_DIR) 2026-08-09 10:43:01 -03:00
microwindows nshlib, graphics/microwindows: require the keyboard byte stream 2026-08-02 18:36:37 +08:00
nxglyphs graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
nxwidgets include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nxwm !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
pdcurs34 graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
screenshot graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
slcd include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
tiff !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
twm4nx !apps: Simplify NuttX initialization 2026-05-06 13:27:05 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile graphics: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00