|
2 | 2 | -- each member selected by a feature. |
3 | 3 | -- |
4 | 4 | -- [dependencies.mcpp] |
5 | | --- plugins = { version = "0.11.1", features = ["rules-spirv"], host-module = true } |
| 5 | +-- plugins = { version = "0.12.0", features = ["rules-spirv"], host-module = true } |
6 | 6 | -- |
7 | 7 | -- // build.mcpp |
8 | 8 | -- import mcpp; |
9 | 9 | -- import mcpp.rules.spirv; |
10 | 10 | -- |
| 11 | +-- 0.12.0 requires **mcpp 2026.9.16.1** for the members that read the resolved |
| 12 | +-- graph, and nothing newer for the rest. A package states what it contributes |
| 13 | +-- to an application in its own manifest -- `[package.metadata.dist-apk]` |
| 14 | +-- (Android source roots, resources, assets, a manifest, jars and aars) and |
| 15 | +-- `[package.metadata.dist-apple]` (an Info.plist fragment) -- and the root |
| 16 | +-- build program reads them from the graph mcpp hands it, applying each package |
| 17 | +-- above the packages it depends on, with the application's own options above |
| 18 | +-- all of them. `options::graph_libraries` and `options::graph_info_plist` turn |
| 19 | +-- the collection off. Under an older engine there is no graph, the variable is |
| 20 | +-- absent, and a package is built without the contribution exactly as before. |
| 21 | +-- |
| 22 | +-- `dist-apk` also follows the engine's strip decision from that release |
| 23 | +-- (`MCPP_PACK_STRIP`, `MCPP_PACK_DEBUG_SYMBOLS_DIR`): a library the engine |
| 24 | +-- staged is packed as staged, because the engine has already applied |
| 25 | +-- `--no-strip` or `--debug-symbols` to it, and the member strips only what it |
| 26 | +-- stages itself. `dist-apple` gains `options::omit_keys`, which leaves out a |
| 27 | +-- key the member only defaults; `dist-web` gains `options::page`, which names |
| 28 | +-- the page (`index.html` by default). `rules-swift` compiles a package's |
| 29 | +-- `.swift` sources in one whole-module `swiftc` action on macOS, the iOS |
| 30 | +-- simulator and the iOS device row, refusing every other row by name. |
| 31 | +-- |
11 | 32 | -- 0.11.1 (same mcpp floor): `dist-apk` strips each native library with the |
12 | 33 | -- build's own `llvm-strip --strip-unneeded` (`options::keep_debug_symbols` |
13 | 34 | -- keeps them as staged) and, when the manifest states |
@@ -515,6 +536,13 @@ package = { |
515 | 536 |
|
516 | 537 | xpm = { |
517 | 538 | linux = { |
| 539 | + ["0.12.0"] = { |
| 540 | + url = { |
| 541 | + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.12.0.tar.gz", |
| 542 | + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.12.0/mcpp-plugins-0.12.0.tar.gz", |
| 543 | + }, |
| 544 | + sha256 = "90a70689b090be7208c1f1f35487e148ed353a1bef0cec33d391bd46d67ba13f", |
| 545 | + }, |
518 | 546 | ["0.11.1"] = { |
519 | 547 | url = { |
520 | 548 | GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.1.tar.gz", |
@@ -697,9 +725,16 @@ package = { |
697 | 725 | }, |
698 | 726 | sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", |
699 | 727 | }, |
700 | | - ["latest"] = { ref = "0.11.1" }, |
| 728 | + ["latest"] = { ref = "0.12.0" }, |
701 | 729 | }, |
702 | 730 | macosx = { |
| 731 | + ["0.12.0"] = { |
| 732 | + url = { |
| 733 | + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.12.0.tar.gz", |
| 734 | + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.12.0/mcpp-plugins-0.12.0.tar.gz", |
| 735 | + }, |
| 736 | + sha256 = "90a70689b090be7208c1f1f35487e148ed353a1bef0cec33d391bd46d67ba13f", |
| 737 | + }, |
703 | 738 | ["0.11.1"] = { |
704 | 739 | url = { |
705 | 740 | GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.1.tar.gz", |
@@ -882,9 +917,16 @@ package = { |
882 | 917 | }, |
883 | 918 | sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", |
884 | 919 | }, |
885 | | - ["latest"] = { ref = "0.11.1" }, |
| 920 | + ["latest"] = { ref = "0.12.0" }, |
886 | 921 | }, |
887 | 922 | windows = { |
| 923 | + ["0.12.0"] = { |
| 924 | + url = { |
| 925 | + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.12.0.tar.gz", |
| 926 | + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.12.0/mcpp-plugins-0.12.0.tar.gz", |
| 927 | + }, |
| 928 | + sha256 = "90a70689b090be7208c1f1f35487e148ed353a1bef0cec33d391bd46d67ba13f", |
| 929 | + }, |
888 | 930 | ["0.11.1"] = { |
889 | 931 | url = { |
890 | 932 | GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.11.1.tar.gz", |
@@ -1067,7 +1109,7 @@ package = { |
1067 | 1109 | }, |
1068 | 1110 | sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", |
1069 | 1111 | }, |
1070 | | - ["latest"] = { ref = "0.11.1" }, |
| 1112 | + ["latest"] = { ref = "0.12.0" }, |
1071 | 1113 | }, |
1072 | 1114 | }, |
1073 | 1115 |
|
|
0 commit comments