|
10 | 10 | -- component,util}), so the 6.1.9 globs apply verbatim, and the public header |
11 | 11 | -- API this index's smoke test uses (hbox/text/separator, `Dimension::Fit`, |
12 | 12 | -- `Screen::Create(Dimensions, Dimensions)`, `Render`) is source-compatible |
13 | | --- with 6.1.9. Upstream added C++20 module units (src/ftxui/*.cppm) and this |
14 | | --- descriptor compiles them, so 7.0.3 consumers can `import ftxui;` — the |
15 | | --- units are global-fragment includes + `using` re-exports, every declaration |
16 | | --- stays attached to the global module, and `#include`/`import` can be mixed |
17 | | --- in one consumer against the same compiled objects. |
| 13 | +-- with 6.1.9. Upstream added C++20 module units (src/ftxui/*.cppm, |
| 14 | +-- FTXUI_BUILD_MODULES, off by default); the `*.cpp` globs never match them, |
| 15 | +-- and the plain .cpp sources still compile header-only style. |
18 | 16 | -- |
19 | 17 | -- ONE version skew the globs cannot express (no per-version build blocks, |
20 | 18 | -- mcpp-community/mcpp#290): FTXUI 7 moved Loop's method definitions from |
@@ -98,15 +96,6 @@ package = { |
98 | 96 | "*/src/ftxui/**/*.cpp", |
99 | 97 | "!*/src/ftxui/**/*_test.cpp", -- gtest files (30+ in 6.1.9, 47 in 7.0.3) |
100 | 98 | "!*/src/ftxui/**/*_fuzzer.cpp", -- fuzz targets (16 in 6.1.9, 6 in 7.0.3) |
101 | | - -- 7.0.3's own module units: global-fragment includes + `using` |
102 | | - -- re-exports, so `import ftxui;` works and still links against |
103 | | - -- the compiled .cpp objects. 6.1.9 has no .cppm — these globs |
104 | | - -- are zero-hit warnings there, same as the redis-plus-plus union. |
105 | | - "*/src/ftxui/screen.cppm", |
106 | | - "*/src/ftxui/dom.cppm", |
107 | | - "*/src/ftxui/component.cppm", |
108 | | - "*/src/ftxui/util.cppm", |
109 | | - "*/src/ftxui/ftxui.cppm", |
110 | 99 | }, |
111 | 100 | targets = { ["ftxui"] = { kind = "lib" } }, |
112 | 101 | deps = { }, |
|
0 commit comments