-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add VCPKG_POST_PORTFILE_INCLUDES #1417
add VCPKG_POST_PORTFILE_INCLUDES #1417
Conversation
for (size_t i = 0; i < abi_info.pre_build_info->post_portfile_includes.size(); ++i) | ||
{ | ||
auto& file = abi_info.pre_build_info->post_portfile_includes[i]; | ||
if (file.is_relative() || !fs.is_regular_file(file) || file.extension() != ".cmake") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the extensions check be dropped? CMake can include arbitrary files and if it is not in cmake syntax, cmake will complain about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of requiring CMake for now; if someone complains we could always relax it later, but once shipped we can't strengthen it.
Thank you! |
Sorry, I normally wouldn't push even nitpick fixes like that into your PR unless I was going to merge the thing; just as I was doing that I noticed the comment in the other PR ( microsoft/vcpkg#25847 (review) ) This looks good to me and I asked Victor to OK it. |
@BillyONeal I don't mind. If I would mind I could disable the checkbox allowing you to do that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
docs pr: microsoft/vcpkg-docs#336
vcpkg pr: microsoft/vcpkg#25847