fix: install header patterns use wrong csrc/ prefix and missing - #6051
Conversation
Signed-off-by: andrewwhitecdw <andrewwhitecdw@users.noreply.github.com>
Greptile SummaryThe PR corrects path prefixes in the CMake header-install patterns and adds exclusion modifiers. However, excluding two extensionless files leaves installed public headers without required transitive dependencies.
Confidence Score: 4/5This PR should not merge until the required extensionless headers are included in the installed header tree. Installed public headers unconditionally include C++23/utility and struct.inl, but the changed FILES_MATCHING rules explicitly exclude both files, causing downstream compilation failures. Files Needing Attention: CMakeLists.txt Important Files Changed
Reviews (1): Last reviewed commit: "fix: install header patterns use wrong c..." | Re-trigger Greptile |
| PATTERN "C++23/utility" EXCLUDE | ||
| PATTERN "struct.inl" EXCLUDE) |
There was a problem hiding this comment.
Required transitive headers excluded
When downstream consumers compile the installed base.h or polymorphic_value.h, these rules exclude the extensionless C++23/utility and struct.inl headers that they unconditionally include, causing compilation to fail with missing-header errors.
| PATTERN "C++23/utility" EXCLUDE | |
| PATTERN "struct.inl" EXCLUDE) | |
| PATTERN "C++23/utility" | |
| PATTERN "struct.inl") |
This PR addresses the following issue in
CMakeLists.txt: install header patterns use wrong csrc/ prefix and missing.Changes
CMakeLists.txt: install header patterns use wrong csrc/ prefix and missing.Details
Tests
tests/python/test_cmake_sanity.py