Skip to content

[scripts-audit] z_vcpkg_function_arguments#16193

Merged
strega-nil merged 2 commits intomicrosoft:masterfrom
strega-nil:scripts-audit/z_vcpkg_function_arguments
Feb 13, 2021
Merged

[scripts-audit] z_vcpkg_function_arguments#16193
strega-nil merged 2 commits intomicrosoft:masterfrom
strega-nil:scripts-audit/z_vcpkg_function_arguments

Conversation

@strega-nil
Copy link
Copy Markdown
Contributor

@strega-nil strega-nil commented Feb 12, 2021

fix bug when ARGC = 0 or ARGC > FIRST_ARG

strega-nil added a commit to strega-nil/vcpkg that referenced this pull request Feb 12, 2021
@strega-nil strega-nil merged commit b55a40d into microsoft:master Feb 13, 2021
Jimmy-Hu added a commit to Jimmy-Hu/vcpkg that referenced this pull request Feb 13, 2021
[scripts-audit] z_vcpkg_function_arguments (microsoft#16193)
strega-nil added a commit that referenced this pull request Feb 19, 2021
* [vcpkg.cmake] modify to get in line with the audit

See PR #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.

* s/target_name/package_name in find_package

* depend on z_vcpkg_function_arguments

instead of a custom macro
also, as a drive-by, switch to foreach(X IN LISTS ...)

* split the utility macros/functions out

additionally, move the options and settings to the top of the file

* move more options and settings to the top

* fix name of file

* fix ras code comments

* remove z_vcpkg_utilities due to export
* add cmake_policy(PUSH|POP)
* add VCPKG_INSTALLED_DIR input variable
* add .cmakestamp to vcpkg_installed

* fix osx ifs to use quotes

also, remove spaces between if and (, to keep style consistent
(mostly for ease of grepping...)

* fix bug fixed by #16193

* move z_vcpkg_add_fatal_error up

* fix RANGE for reals
@strega-nil strega-nil deleted the scripts-audit/z_vcpkg_function_arguments branch March 1, 2021 18:47
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.

2 participants