Skip to content

build(cmake): raise minimum CMake version to 3.22#379

Merged
plexoos merged 1 commit into
mainfrom
bump-cmake-version
Jun 23, 2026
Merged

build(cmake): raise minimum CMake version to 3.22#379
plexoos merged 1 commit into
mainfrom
bump-cmake-version

Conversation

@plexoos

@plexoos plexoos commented Jun 23, 2026

Copy link
Copy Markdown
Member

Raise Simphony's declared minimum CMake version to 3.22 across the main project, standalone
examples, DD4hep plugin standalone mode, and the standalone SGLFW test target.

Ubuntu 22.04 is the intended minimum supported platform baseline for Simphony, and its system
package baseline includes CMake 3.22.1.

The project now relies on CMake features such as PROJECT_IS_TOP_LEVEL, which are supported by
CMake 3.22. Raising the declared minimum keeps the build requirements aligned with the supported
platform policy and avoids older CMake versions silently misconfiguring testing defaults.

Raise Simphony's declared minimum CMake version to 3.22 across the main project, standalone examples, DD4hep plugin standalone mode, and the standalone SGLFW test target.

Ubuntu 22.04 is the intended minimum supported platform baseline for Simphony, and its system
package baseline includes CMake 3.22.1.

The project now relies on CMake features such as `PROJECT_IS_TOP_LEVEL`, which are supported by
CMake 3.22. Raising the declared minimum keeps the build requirements aligned with the supported
platform policy and avoids older CMake versions silently misconfiguring testing defaults.
Copilot AI review requested due to automatic review settings June 23, 2026 16:31
@plexoos plexoos self-assigned this Jun 23, 2026
@plexoos plexoos added the build Build-system or toolchain configuration problems label Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Raises Simphony’s declared minimum required CMake version to 3.22 to match the Ubuntu 22.04 baseline and ensure newer CMake features (e.g., PROJECT_IS_TOP_LEVEL) behave consistently across the main build and standalone sub-projects.

Changes:

  • Updated cmake_minimum_required(...) to 3.22 in the top-level build and multiple standalone/example CMake projects.
  • Updated the DD4hep plugin standalone-mode CMake minimum to 3.22.
  • Updated the Getting Started documentation to reflect the new CMake minimum.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
CMakeLists.txt Raises the project-wide minimum CMake version to 3.22.
dd4hepplugins/CMakeLists.txt Aligns standalone DD4hep plugin build minimum CMake to 3.22.
examples/CMakeLists.txt Updates examples’ minimum CMake to 3.22.
examples/MC_Truth/CMakeLists.txt Updates standalone MC_Truth example minimum CMake to 3.22.
examples/async_gpu_std/CMakeLists.txt Updates standalone async_gpu_std example minimum CMake to 3.22.
examples/async_gpu_launch/CMakeLists.txt Updates standalone async_gpu_launch example minimum CMake to 3.22.
sysrap/SGLFW_tests/CMakeLists.txt Updates standalone SGLFW test target minimum CMake to 3.22.
docs/getting-started.md Documents CMake 3.22+ as the minimum prerequisite.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@plexoos plexoos merged commit c83319d into main Jun 23, 2026
14 checks passed
@plexoos plexoos deleted the bump-cmake-version branch June 23, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build-system or toolchain configuration problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants