Commit 80ef88b
committed
feat: add mcpp build support (mcpp.toml)
Adds the mcpp-build manifest alongside the existing xmake.lua so
tinyhttps can be consumed/built by both ecosystems. The mcpp side
relies on:
* mbedtls 3.6.1 — pulled from mcpp-index (the descriptor lands in a
parallel mcpp-community/mcpp-index PR). mcpp 0.0.2's C-language
compile rule (`c_object`) builds mbedtls from source and packs
it into libtinyhttps.a alongside the modular C++23 .m.o files.
* gtest 1.15.2 — dev-only, picked up by `mcpp test` to run the
existing tests/test_*.cpp.
Verified:
$ mcpp build
...
Compiling mcpplibs.tinyhttps v0.2.0 (.)
Cached mbedtls v3.6.1
Finished release [optimized] in 1.52s
$ ar t target/.../bin/libtinyhttps.a | grep -c '\\.o$' # all 6 partitions + 108 mbedtls .c1 parent 8355c66 commit 80ef88b
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments