acassis opened a new pull request, #3711:
URL: https://github.com/apache/nuttx-apps/pull/3711

   ## Summary
   
   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.
   
   ## Impact
   
   
   
   ## Testing
   
   Testing as in #19697.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to