Repository navigation
Releases
Releases · mcpp-community/mcpp-plugins
0.27.0: rules-qml, QML applications on rules-qt
- New member
rules-qml(mcpp.rules.qml): QML applications. For each QML module the project states, the rule declares the chainqt_add_qml_moduleruns as actions --moc --output-json,qmltyperegistrar,qmlcachegen(per file, with its loader),rcc,qsbfor shaders,qmllintas a check -- so the module is compiled into the executable andloadFromModulefinds it. It places the Qt QML modules the program imports beside it, found from theimportstatements and the SDK'sqmldirand.qmlfiles (styles,importsandimport_pathsshape the set), and writes aqt.conf(Prefix = .,Qml2Imports = qml) unless the project has its own. Impliesrules-qt; see docs/rules-qml.md. rules-qtgains, off by default and without a change to an existing project's directives (a golden of the 0.26 output is a test):moc_json,moc_includes,i18n.extensionsandcompile_ex.- A pack that carries the libraries the QML plugins load needs mcpp 2026.11.23.1 (mcpp#1011). The engine floor of the package stays 2026.10.30.1: the build runs on it.
- On macOS
mcpp packdoes not stage Qt's frameworks yet, as forrules-qt.
0.26.1: mcpplibs.os 0.4.5, so a graph whose openkal is 0.26 holds the plugins
plugins-coreandplugins-progressbuild on mcpplibs.os 0.4.5, which accepts openkal 0.24 to 0.26. A graph whose openkal is 0.26 (openkal-platform 0.31) now holds the plugins. Under 0.4.4, openkal-platform 0.31's build program was refused as irreconcilable. With 0.4.5 a start is bounded by the environment alone, and one refused for its size reportsE2BIG(mcpp-community/mcpp#958).- No member changes, and the engine floor stays mcpp 2026.10.30.1.
0.26.0: a step program's glob excludes paths, and dist-apk empties its class directories
tools-steps:glob_options::excludedrops a match whose whole path matches one of its patterns. Unlike the finding pattern,*crosses a/, so*/platform/ios/App/*drops everything below such a directory at any depth. Thecmakebackend filters the matches with an anchored regular expression per pattern.dist-apk: thejavacandkotlincsteps empty their class directories before they compile, so a source that left the package no longer leaves its class in the next package.
0.25.0: tools-steps, a member describes a step and a backend runs it
tools-steps(mcpp.tools.steps): an action whose work is more than one command is a program of portable operations (run,touch,mkdir,remove,remove_glob,copy_file,copy_tree,copy_glob,rename,symlink,globinto a list,append,require) that a member describes and a backend runs, with every value taken verbatim. The backend iscmake -Puntil mcpp runs step programs itself (mcpp-community/mcpp#955).dist-apk: javac and kotlinc, d8, the archive's libraries and dex, and an App Bundle's base module are step programs;DistApk.javais gone.xim:cmakeis asked for when a package is planned;options::cmakenames another.dist-apple: the framework copy and signature and the disk-image staging are step programs; no step is a shell script.xim:cmakeis asked for only when a plan has one;options::cmakenames another.- Rule 5 of the plugin conventions names step programs and refuses a shell script as an action's program.
0.24.0: dist-apk packs on Windows and macOS hosts as on Linux
dist-apkpacks on Windows and macOS hosts as on Linux.d8,apksigner, bundletool, the Kotlin compiler and coursier run from their jars on the JDK'sjava, with the command each tool's own launcher runs;aapt2,zipalignand the JDK tools carry the host's executable suffix; a class path is joined with the host's separator.- The four
/bin/shhelpers are one Java source file,DistApk.java, which thatjavaruns as a single-file program, so no step needs a shell and the Linux fixtures exercise what a Windows host runs. - CI packs
tests/apk-consumerat level 0 and level 1 on the macOS and Windows rows. On Windows the NDK's libc++ module sources come fromxim:android-ndk-libcxx-modules(openxlings/xim-pkgindex#1188).
0.23.1: dist-apk takes a generated Java root as an action input
dist-apk: a Java or Kotlin root inside the build's output (mcpp::out_dir(),target/), which a build program generated, is an input of thejavacaction and declares no re-run glob. Such a glob could never match there, and every build warned that it could never re-run.tests/apk-consumergenerates a third Java root at level 1; the feature check asserts its class inclasses.dexand the absence of the warning.
0.23.0: dist-deb and dist-rpm, the staged tree as a Debian or RPM package
dist-debanddist-rpm:mcpp pack --pkg-format deb|rpminstalls the staged tree under/opt/<name>, with/usr/bin/<name>, a desktop entry and an icon; control fields come from[package], andoptions::dependsnames packages the machine provides.- Both are written by nfpm from
xim:nfpm(2.49.0 or newer), asked for only when a pack needs it, so no host needsdpkg-deborrpmbuild. - Every staged file is listed with an explicit mode and
SOURCE_DATE_EPOCH(or a fixed time), so repacking an unchanged tree gives the same bytes. - The shared layout is
mcpp.dist.linux_package(featuredist-linux-package, implied by both). The package floor stays mcpp 2026.10.30.1.
0.22.1: mcpplibs.os 0.4.4, so a graph whose openkal is 0.25 holds the plugins
mcpplibs.os0.4.4 in both feature dependencies: 0.4.0 pinned openkal 0.24.0, which a graph holding openkal 0.25 (openkal-platform 0.29) could not reconcile.- The module's version constant states 0.22.1.
0.22.0: dist-web's page is the one distributable, a runner named web serves it, and the engine is told the program it wraps
- The page is dist-web's one distributable: its step takes every copied file as an input, so
mcpp run --pkg-format webis handed the page. The page's source is written to<out_dir>/.dist-web/<target>-<page>.in, and a note names the declared directory and says it is opened over HTTP. options::runner(default true) declares a long-lived runner namedweb: emrun from the resolved Emscripten toolchain serves the directory and opens the page.- A declined request is stated as a warning.
- With mcpp 2026.11.16.1 and later (protocol 19) dist-web states the program
options::targetnames (mcpp::pack_program), somcpp pack --pkg-format webin a package with several programs packs that one; an older engine keeps its own choice.
0.21.0: CMake cross contracts and owned accelerator targets
- CMake cross contracts: a CMake cross build consumes the engine's compiler, flags, archiver and target contract when the action runs; a subproject that links an executable or a shared library needs mcpp 2026.11.7.1 (docs/deps.md).
- Owned accelerator targets: accelerator rules read complete, brace-aware requests and match exact implementation names. SYCL owns its code targets (
sycl+{nvptx64-sm_89,nvptx64-sm_90},sycl+{spir64,nvptx64-sm_89}); the older target-inheritance spelling is accepted with a migration warning; CUDA, HIP and Vulkan share the reader (mcpp-community/mcpp#887). plugins-progress: an atomic, rate-limited writer of an action's optional progress; CMake reports its configure and build-install stages.- Object-surface assembly records payload content, so
restatdoes not hide a changed payload behind an unchanged.incbinpath. - The system through modules: no unit includes a header or branches in the preprocessor;
mcpp::plugins::tool::captureasks a program for a fact;mcpplibs.os0.4.0 is a dependency ofplugins-coreandplugins-progress. - Package floor mcpp 2026.10.30.1.