-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[scripts-audit] vcpkg.cmake #16061
[scripts-audit] vcpkg.cmake #16061
Conversation
20f4464
to
0a6efac
Compare
I would really like to see some cleanup first instead of more things added to |
0a6efac
to
05cd057
Compare
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.
The pieces I've reviewed LGTM so far.
Still to review:
- New macro/functions
find_package()
override
|
5a4d951
to
af09646
Compare
See PR microsoft#16055 This also (attempts to) allow vcpkg.cmake to run with cmake 3.0; we had a VERSION_GREATER_EQUAL check, but that if keyword was added in cmake 3.7.
instead of a custom macro also, as a drive-by, switch to foreach(X IN LISTS ...)
additionally, move the options and settings to the top of the file
635c356
to
e83e7bb
Compare
* remove z_vcpkg_utilities due to export * add cmake_policy(PUSH|POP) * add VCPKG_INSTALLED_DIR input variable * add .cmakestamp to vcpkg_installed
also, remove spaces between if and (, to keep style consistent (mostly for ease of grepping...)
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
[scripts-audit] vcpkg.cmake (microsoft#16061)
@strega-nil Did you try the vcpkg.cmake script after the re-work (audit?) on a downstream project? |
See PR #16055
This also (attempts to) allow vcpkg.cmake to run with cmake 3.1; we had a
VERSION_GREATER_EQUAL
check, but that if keyword was added in cmake 3.7.