Skip to content

Releases

0.27.0: rules-qml, QML applications on rules-qt

Choose a tag to compare

@speak-agent speak-agent released this 24 Nov 01:55
c874271
  • New member rules-qml (mcpp.rules.qml): QML applications. For each QML module the project states, the rule declares the chain qt_add_qml_module runs as actions -- moc --output-json, qmltyperegistrar, qmlcachegen (per file, with its loader), rcc, qsb for shaders, qmllint as a check -- so the module is compiled into the executable and loadFromModule finds it. It places the Qt QML modules the program imports beside it, found from the import statements and the SDK's qmldir and .qml files (styles, imports and import_paths shape the set), and writes a qt.conf (Prefix = ., Qml2Imports = qml) unless the project has its own. Implies rules-qt; see docs/rules-qml.md.
  • rules-qt gains, 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.extensions and compile_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 pack does not stage Qt's frameworks yet, as for rules-qt.

0.26.1: mcpplibs.os 0.4.5, so a graph whose openkal is 0.26 holds the plugins

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 19 Nov 09:31
82fdd67
  • plugins-core and plugins-progress build 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 reports E2BIG (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

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 18 Nov 23:00
23d5811
  • tools-steps: glob_options::exclude drops 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. The cmake backend filters the matches with an anchored regular expression per pattern.
  • dist-apk: the javac and kotlinc steps 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

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 18 Nov 06:07
836fd45
  • 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, glob into a list, append, require) that a member describes and a backend runs, with every value taken verbatim. The backend is cmake -P until 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.java is gone. xim:cmake is asked for when a package is planned; options::cmake names another.
  • dist-apple: the framework copy and signature and the disk-image staging are step programs; no step is a shell script. xim:cmake is asked for only when a plan has one; options::cmake names 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

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 18 Nov 05:09
7c7cfe3
  • dist-apk packs on Windows and macOS hosts as on Linux. d8, apksigner, bundletool, the Kotlin compiler and coursier run from their jars on the JDK's java, with the command each tool's own launcher runs; aapt2, zipalign and the JDK tools carry the host's executable suffix; a class path is joined with the host's separator.
  • The four /bin/sh helpers are one Java source file, DistApk.java, which that java runs 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-consumer at level 0 and level 1 on the macOS and Windows rows. On Windows the NDK's libc++ module sources come from xim:android-ndk-libcxx-modules (openxlings/xim-pkgindex#1188).

0.23.1: dist-apk takes a generated Java root as an action input

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 18 Nov 02:06
68382d2
  • 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 the javac action 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-consumer generates a third Java root at level 1; the feature check asserts its class in classes.dex and the absence of the warning.

0.23.0: dist-deb and dist-rpm, the staged tree as a Debian or RPM package

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 18 Nov 00:25
087c5f3
  • dist-deb and dist-rpm: mcpp pack --pkg-format deb|rpm installs the staged tree under /opt/<name>, with /usr/bin/<name>, a desktop entry and an icon; control fields come from [package], and options::depends names 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 needs dpkg-deb or rpmbuild.
  • 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 (feature dist-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

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 16 Nov 20:55
6f5308a
  • mcpplibs.os 0.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

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 15 Nov 19:06
0f1fa1a
  • The page is dist-web's one distributable: its step takes every copied file as an input, so mcpp run --pkg-format web is 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 named web: 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::target names (mcpp::pack_program), so mcpp pack --pkg-format web in 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

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 08 Nov 00:07
06729d4
  • 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 restat does not hide a changed payload behind an unchanged .incbin path.
  • The system through modules: no unit includes a header or branches in the preprocessor; mcpp::plugins::tool::capture asks a program for a fact; mcpplibs.os 0.4.0 is a dependency of plugins-core and plugins-progress.
  • Package floor mcpp 2026.10.30.1.