|
| 1 | +-- Form B inline descriptor for Boost.Config 1.92.0 — the root of this index's |
| 2 | +-- modular-boost header family. Each boostorg/<lib> repository is packaged from |
| 3 | +-- its OWN release-train tag (`boost-1.92.0`) instead of the ~224 MiB monolith, |
| 4 | +-- mirroring how vcpkg splits Boost into per-library ports: consumers download |
| 5 | +-- exactly the closure they use (Config alone is ~300 KiB of archives). |
| 6 | +-- |
| 7 | +-- Family wiring (verified by grepping every `<boost/...>` include across each |
| 8 | +-- package's include tree AND cross-checked against each repo's CMakeLists |
| 9 | +-- INTERFACE link line): |
| 10 | +-- config -> (nothing) |
| 11 | +-- assert -> config |
| 12 | +-- type-traits -> config |
| 13 | +-- throw-exception -> assert, config |
| 14 | +-- uuid -> all four above |
| 15 | +-- The five shipped header sets are pairwise disjoint, so five `*/include` |
| 16 | +-- include roots union into one coherent `boost/` tree with no collisions. |
| 17 | +-- Upgrades move the WHOLE train together (every boostorg repo tags the same |
| 18 | +-- release); partial trains are untested territory. |
| 19 | +-- |
| 20 | +-- Header-only, traditional `#include` consumption only — no module unit here. |
| 21 | +-- Upstream ships none for Config, and this family deliberately stays on the |
| 22 | +-- textual path (see compat.jwt-cpp / tests/examples/boost-*). |
| 23 | +-- |
| 24 | +-- No CN mirror yet: plain-string upstream URL, like boost-ext.ut. Consumers in |
| 25 | +-- CN fall back to the GLOBAL source until a maintainer backfills gitcode. |
| 26 | +-- |
| 27 | +-- License: Boost Software License 1.0 (BSL-1.0), file LICENSE_1_0.txt. |
| 28 | +package = { |
| 29 | + spec = "1", |
| 30 | + namespace = "compat", |
| 31 | + name = "boost-config", |
| 32 | + description = "Boost.Config 1.92.0 — platform/compiler/stdlib detection macros; root of the modular-boost header family", |
| 33 | + licenses = {"BSL-1.0"}, |
| 34 | + repo = "https://github.com/boostorg/config", |
| 35 | + type = "package", |
| 36 | + |
| 37 | + xpm = { |
| 38 | + linux = { |
| 39 | + ["1.92.0"] = { |
| 40 | + url = "https://github.com/boostorg/config/archive/refs/tags/boost-1.92.0.tar.gz", |
| 41 | + sha256 = "b4171037f13373203ba79cbc141d612982052283e696a315185ab5bea46102a0", |
| 42 | + }, |
| 43 | + }, |
| 44 | + macosx = { |
| 45 | + ["1.92.0"] = { |
| 46 | + url = "https://github.com/boostorg/config/archive/refs/tags/boost-1.92.0.tar.gz", |
| 47 | + sha256 = "b4171037f13373203ba79cbc141d612982052283e696a315185ab5bea46102a0", |
| 48 | + }, |
| 49 | + }, |
| 50 | + windows = { |
| 51 | + ["1.92.0"] = { |
| 52 | + url = "https://github.com/boostorg/config/archive/refs/tags/boost-1.92.0.tar.gz", |
| 53 | + sha256 = "b4171037f13373203ba79cbc141d612982052283e696a315185ab5bea46102a0", |
| 54 | + }, |
| 55 | + }, |
| 56 | + }, |
| 57 | + |
| 58 | + mcpp = { |
| 59 | + language = "c++20", |
| 60 | + import_std = false, |
| 61 | + -- Exposes `boost/` (config.hpp, version.hpp, detail/, no_tr1/, ...) so |
| 62 | + -- consumers write `#include <boost/config.hpp>`. This package also owns |
| 63 | + -- the family's shared oddments that live outside boost/config/: the |
| 64 | + -- historical boost/cstdint.hpp, boost/limits.hpp, boost/static_assert.hpp, |
| 65 | + -- boost/detail/workaround.hpp — and boost/version.hpp, which downstream |
| 66 | + -- members assert against. |
| 67 | + include_dirs = { "*/include" }, |
| 68 | + -- Header-only: a trivial anchor TU gives mcpp a buildable lib target. |
| 69 | + generated_files = { |
| 70 | + ["mcpp_generated/boost_config_anchor.cpp"] = [==[ |
| 71 | +int mcpp_compat_boost_config_anchor(void) { return 0; } |
| 72 | +]==], |
| 73 | + }, |
| 74 | + sources = { "mcpp_generated/boost_config_anchor.cpp" }, |
| 75 | + targets = { ["boost_config"] = { kind = "lib" } }, |
| 76 | + deps = { }, |
| 77 | + }, |
| 78 | +} |
0 commit comments