-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[vcpkg_fail_port_install] Deprecate function #21489
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
Changes from 10 commits
7b3410f
dc6981b
a5f2bd0
e52ac9f
611ab3f
eed4335
01ba0fa
f266a4b
a849d03
abfc890
3b55724
977259b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| # DEPRECATED: in favor of the `supports` field in [`manifest file`](manifest-files.md#supports) et al. | ||
|
|
||
| #[===[.md: | ||
| # vcpkg_fail_port_install | ||
|
|
||
|
|
@@ -40,6 +42,8 @@ Library linkage for which the build should fail early. | |
| #]===] | ||
|
|
||
| function(vcpkg_fail_port_install) | ||
| z_vcpkg_deprecation_message("vcpkg_fail_port_install has been removed and all values should be moved by adding `supports` field to manifest file or directly adding `${PORT}:${FAILED_TRIPLET}=fail` to _scripts/ci.baseline.txt_.\nPlease remove `vcpkg_fail_port_install(...)`.\n") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was incorrect about this needing to be
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! |
||
|
|
||
| set(multi_args "ON_TARGET;ON_ARCH;ON_CRT_LINKAGE;ON_LIBRARY_LINKAGE") | ||
| cmake_parse_arguments(PARSE_ARGV 0 "arg" "ALWAYS" "MESSAGE" "${multi_args}") | ||
| if(DEFINED arg_UNPARSED_ARGUMENTS) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.