Skip to content
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

Merged
merged 5 commits into from
Jul 25, 2024

Conversation

Neumann-A
Copy link
Contributor

@Neumann-A Neumann-A commented Jun 8, 2024

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")
Copy link
Contributor Author

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.

Copy link
Member

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.

@BillyONeal BillyONeal enabled auto-merge (squash) July 24, 2024 02:40
@BillyONeal
Copy link
Member

Thank you!

@BillyONeal BillyONeal disabled auto-merge July 24, 2024 02:49
@BillyONeal
Copy link
Member

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.

@Neumann-A
Copy link
Contributor Author

@BillyONeal I don't mind. If I would mind I could disable the checkbox allowing you to do that.

Copy link
Member

@vicroms vicroms left a comment

Choose a reason for hiding this comment

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

LGTM

@BillyONeal BillyONeal merged commit 88ee931 into microsoft:main Jul 25, 2024
5 checks passed
@Neumann-A Neumann-A deleted the vcpkg_post_portfile_includes branch July 25, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants