Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mcpp-community/mcpp-plugins
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: mcpp-community/mcpp-plugins
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/0.18.0-deps-cmake-cache
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 15 files changed
  • 1 contributor

Commits on Sep 30, 2026

  1. 0.18.0: deps-cmake builds with Ninja under a Visual Studio instance, …

    …keeps an installation for any build with the same key, and reads the project's compiler choice by the argument's name
    
    - Ninja is the default generator wherever the toolset is resolved, a Visual
      Studio instance's cl.exe included (named, with the engine's environment);
      `generator = visual_studio` keeps 0.17.0's Visual Studio generator for a
      subproject that needs MSBuild.
    - An installation is kept outside the package (`options::cache`,
      `MCPP_DEPS_CMAKE_CACHE`, the user's cache directory) under a key with no
      path of the machine: the plugins' version, the configure arguments with
      placeholders, the toolset identity, CMake's version, the environment CMake
      reads flags from, the SHA-256 of every source file. A build without target/,
      another checkout or a CI runner copies it instead of compiling. Only
      identity-stated compilers are keyed; an installation whose text files name
      its own directories is not kept; the plan is unchanged, so a missing or
      broken cache leaves the 0.17.0 behaviour.
    - `chooses_compiler` / `chooses_generator` match the variable's name:
      CMAKE_CXX_COMPILER_LAUNCHER, CMAKE_C_COMPILER_TARGET and
      CMAKE_GENERATOR_PLATFORM no longer switch the resolved toolset off.
    - Tests: 7 plugin-logic cases; `cmake-cache` criteria (taken, moved checkout,
      edit, CFLAGS, off, not relocatable) on Linux clang, macOS, Windows with
      Visual Studio and the managed toolset.
    Sunrisepeak committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    eaf9d64 View commit details
    Browse the repository at this point in the history
  2. ci: cmake-cache expands an empty toolchain argument list the way bash…

    … 3.2 (macOS) accepts under set -u
    Sunrisepeak committed Sep 30, 2026
    Configuration menu
    Copy the full SHA
    15ace50 View commit details
    Browse the repository at this point in the history
Loading