Skip to content

[cmake] modernize and simplify RConfigure generation - #23261

Draft
ferdymercury wants to merge 3 commits into
root-project:masterfrom
ferdymercury:rconfigmodern
Draft

[cmake] modernize and simplify RConfigure generation#23261
ferdymercury wants to merge 3 commits into
root-project:masterfrom
ferdymercury:rconfigmodern

Conversation

@ferdymercury

Copy link
Copy Markdown
Collaborator

This Pull request:

Changes or fixes:

This is a first step towards later using the defined target to remove dependencies with a global header file in some external / builtins targets, it's better to just depend on a config time target if one just needs the ROOT global defs.

Besides, 150 lines of boilerplate code are removed.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

@dpiparo

dpiparo commented Sep 4, 2026

Copy link
Copy Markdown
Member

A slightly related issue ROOT-8061

@ferdymercury

ferdymercury commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

Unfortunately, for this to go forward, we need CMake 3.27
So blocked by #19941
LLVM goes towards 3.30 soon https://discourse.llvm.org/t/rfc-raising-minimum-required-cmake-version-to-3-31 llvm/llvm-project@e192ec4

I will continue later on with RConfig.hxx that it has a lot of definitions that can be solved at config time and thus is movable to RConfigure.h.

@ferdymercury ferdymercury added skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. clean build Ask CI to do non-incremental build on PR labels Sep 4, 2026
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 0820134.

♻️ This comment has been updated with latest results.

inbuilt configure file and mention also current cplusplus not just ROOT in error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants