|
2 | 2 | -- each member selected by a feature. |
3 | 3 | -- |
4 | 4 | -- [dependencies.mcpp] |
5 | | --- plugins = { version = "0.12.0", features = ["rules-spirv"], host-module = true } |
| 5 | +-- plugins = { version = "0.13.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.13.0 requires **mcpp 2026.9.26.2** for its new members and nothing newer |
| 12 | +-- for the rest; they are selected by feature, so a project that selects none |
| 13 | +-- of them compiles none of them. A fourth family, `deps-*`, states where a |
| 14 | +-- library comes from, following mcpp's build-plugin specification (SPEC-007): |
| 15 | +-- `deps-vcpkg` installs a `vcpkg.json` manifest and `deps-cmake` a CMake |
| 16 | +-- subproject, each as a `prepare` action with an output directory whose |
| 17 | +-- command is the package's own host tool (`tools = ["mcpp-deps"]`). The build |
| 18 | +-- program states the prefix before anything is installed -- include |
| 19 | +-- directory, libraries by full path, and the shared-library directory as a |
| 20 | +-- runtime search directory -- so `mcpp emit build-database` plans a project |
| 21 | +-- that has never been built, `mcpp run` and `mcpp pack` find the libraries, |
| 22 | +-- and on Windows the engine places the DLLs beside the program. `deps-vcpkg` |
| 23 | +-- declares `xim:vcpkg` (vcpkg-tool with the scripts released beside it; a |
| 24 | +-- `builtin-baseline` manifest resolves through vcpkg's git registry cache); |
| 25 | +-- `deps-cmake` declares `xim:cmake`. `rules-qt` runs moc, uic, rcc and |
| 26 | +-- lrelease as actions and lupdate as a `prepare` action, links the Qt modules |
| 27 | +-- by full path and deploys the plugin directories beside the program; |
| 28 | +-- `rules-qt-xim` declares `xim:qt` 6.11.1 and `rules-qt-xim-addons` adds |
| 29 | +-- `xim:qt-addons`. On Linux the rule serves QtCore programs, which state |
| 30 | +-- `[build] cxx_runtime = "toolchain-coupled"` (mcpp-community/mcpp#704). |
| 31 | +-- mcpp-community/mcpp-plugins#29. |
| 32 | +-- |
11 | 33 | -- 0.12.0 requires **mcpp 2026.9.16.1** for the members that read the resolved |
12 | 34 | -- graph, and nothing newer for the rest. A package states what it contributes |
13 | 35 | -- to an application in its own manifest -- `[package.metadata.dist-apk]` |
@@ -536,6 +558,13 @@ package = { |
536 | 558 |
|
537 | 559 | xpm = { |
538 | 560 | linux = { |
| 561 | + ["0.13.0"] = { |
| 562 | + url = { |
| 563 | + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.13.0.tar.gz", |
| 564 | + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.13.0/mcpp-plugins-0.13.0.tar.gz", |
| 565 | + }, |
| 566 | + sha256 = "297d28f9549ea3c6d86ab00109e0bf097ec72bf429a74c7f9030ab379a46d904", |
| 567 | + }, |
539 | 568 | ["0.12.0"] = { |
540 | 569 | url = { |
541 | 570 | GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.12.0.tar.gz", |
@@ -725,9 +754,16 @@ package = { |
725 | 754 | }, |
726 | 755 | sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", |
727 | 756 | }, |
728 | | - ["latest"] = { ref = "0.12.0" }, |
| 757 | + ["latest"] = { ref = "0.13.0" }, |
729 | 758 | }, |
730 | 759 | macosx = { |
| 760 | + ["0.13.0"] = { |
| 761 | + url = { |
| 762 | + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.13.0.tar.gz", |
| 763 | + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.13.0/mcpp-plugins-0.13.0.tar.gz", |
| 764 | + }, |
| 765 | + sha256 = "297d28f9549ea3c6d86ab00109e0bf097ec72bf429a74c7f9030ab379a46d904", |
| 766 | + }, |
731 | 767 | ["0.12.0"] = { |
732 | 768 | url = { |
733 | 769 | GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.12.0.tar.gz", |
@@ -917,9 +953,16 @@ package = { |
917 | 953 | }, |
918 | 954 | sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", |
919 | 955 | }, |
920 | | - ["latest"] = { ref = "0.12.0" }, |
| 956 | + ["latest"] = { ref = "0.13.0" }, |
921 | 957 | }, |
922 | 958 | windows = { |
| 959 | + ["0.13.0"] = { |
| 960 | + url = { |
| 961 | + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.13.0.tar.gz", |
| 962 | + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.13.0/mcpp-plugins-0.13.0.tar.gz", |
| 963 | + }, |
| 964 | + sha256 = "297d28f9549ea3c6d86ab00109e0bf097ec72bf429a74c7f9030ab379a46d904", |
| 965 | + }, |
923 | 966 | ["0.12.0"] = { |
924 | 967 | url = { |
925 | 968 | GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.12.0.tar.gz", |
@@ -1109,7 +1152,7 @@ package = { |
1109 | 1152 | }, |
1110 | 1153 | sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", |
1111 | 1154 | }, |
1112 | | - ["latest"] = { ref = "0.12.0" }, |
| 1155 | + ["latest"] = { ref = "0.13.0" }, |
1113 | 1156 | }, |
1114 | 1157 | }, |
1115 | 1158 |
|
|
0 commit comments