Repository navigation
build: keep the umbrella header out of the source_group tree - #427
Conversation
CMake 4.5 rejects a source_group(TREE) file that lies outside the tree's root, and the header list also holds include/boost/corosio.hpp, so configuring failed. The header is already grouped on its own.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
An automated preview of the documentation is available at https://427.corosio.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-11-19 16:53:56 UTC |
|
GCOVR code coverage report https://427.corosio.prtest3.cppalliance.org/gcovr/index.html Build time: 2026-11-19 17:09:24 UTC |
CMake 4.5 rejects a file passed to
source_group(TREE <root>)that does not lie under<root>. The header list also holds the umbrella headerinclude/boost/corosio.hpp, which sits beside the tree rather than in it, so configuring fails with "is not a prefix of file". GitHub's macOS runners and the docs job now ship CMake 4.5.0.The umbrella header is already placed in its own group by the
source_group("" FILES ...)line above, so it is now left out of the tree group. Nothing else changes: the header still belongs to the target, and every otherTREEcall in the repository only receives files under its own root.Checked with CMake 4.4.5 locally: configure succeeds, and the trace shows the tree group no longer receives the umbrella header. CMake 4.5 itself was not available locally, so CI is the check there.
CI builds against capy develop, whose CMakeLists has the same problem, so cppalliance/capy#490 has to merge first.
Summary by CodeRabbit