Swatantra-66 opened a new pull request, #3856:
URL: https://github.com/apache/nuttx-apps/pull/3856
## Summary
Addresses the CMake build gap for `database/sqlite` identified in Apache
NuttX issue apache/nuttx#19549 ("[Analysis] CMake vs. Make Build-System Gap
Analysis"):
- Add `database` subdirectory to `apps/CMakeLists.txt` in alphabetical order.
- Add `apps/database/CMakeLists.txt` invoking `nuttx_add_subdirectory()` and
`nuttx_generate_kconfig(MENUDESC "Database")`.
- Add `apps/database/sqlite/CMakeLists.txt` to:
- Fetch SQLite release source archive via `FetchContent`.
- Generate amalgamation (`sqlite3.c`, `sqlite3.h`, and `shell.c`) via host
`./configure` and `make`.
- Configure `sqlite3` static library target (`nuttx_add_library`).
- Configure `sqlite3` CLI application target (`nuttx_add_application`)
when `CONFIG_UTILS_SQLITE` is enabled.
## Impact
Enables building SQLite library and CLI tool under CMake (e.g. `sim:sqlite`
and custom board configurations).
## Testing
- cmake-format --check passed.
- cmake-lint passed (0 issues).
- checkpatch.sh passed with 0 warnings/errors.
--
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]