trns1997 opened a new pull request, #17210:
URL: https://github.com/apache/nuttx/pull/17210

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   This PR removes the unused `BUILD_OOTCPP` CMake option from the 
configuration step:
   ```
   cmake .. -DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN_FILE" -DBUILD_OOTCPP=ON
   ```
   is simplified to:
   ```
   cmake .. -DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN_FILE"
   ```
   
   The `BUILD_OOTCPP` guard is no longer necessary because out-of-tree build 
logic is now fully supported by the enhanced `nuttx_add_subdirectory()` helper, 
which provides directory exclusion control via the EXCLUDE argument (introduced 
in [#17105](https://github.com/apache/nuttx/pull/17105)
   
   ## Impact
   
   - Build system: Simplifies configuration by removing an obsolete option.
   - Compatibility: No impact on existing builds; the option was unused.
   - Developers: Cleaner and more maintainable CMake configuration.
   
   ## Testing
   
   - Verified that standard and out-of-tree builds complete successfully 
without the BUILD_OOTCPP option.
   - Confirmed that export and CI workflows continue to function as expected.


-- 
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