An open API service indexing awesome lists of open source software.

https://github.com/totalcross/totalcross-depot-tools


https://github.com/totalcross/totalcross-depot-tools

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# TotalCross native dependencies

This repository keeps third-party native dependencies used by TotalCross in a
versioned, reproducible layout. Each dependency owns its download, build,
packaging and CMake consumption files.

## Layout

- `deps.yml`: compatible dependency bundle index.
- `/manifest.yml`: source version, build flags and artifact names.
- `/fetch.sh`: downloads or stages the dependency sources.
- `/CMakeLists.txt`: builds the dependency in isolation.
- `/cmake`: CMake modules used by TotalCross consumers.
- `/scripts/package-artifact.sh`: creates release archives.
- `docker`: shared build images by target platform.

Skia is the exception on the build side: it is built with GN/Ninja through
scripts, and consumed through the CMake fetch/find modules imported from
TotalCrossVM.

TotalCross can consume this repository as a submodule or as an unpacked package:

```cmake
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/deps/sqlite3/cmake")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/deps/mbedtls/cmake")
```