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

[vcpkg/manifest/toolchain] Add install/bootstrap options & fix CACHE variables usage #13713

Merged

Conversation

Neumann-A
Copy link
Contributor

@Neumann-A
Copy link
Contributor Author

For fun just try running:

set(MY_MESSAGE "Reconfiguring!")
set(MY_MESSAGE "First configure!" CACHE STRING "Message to print!")
message(STATUS "MY_MESSAGE:${MY_MESSAGE}")

and marvel at the output ;)

@strega-nil
Copy link
Contributor

@Neumann-A thanks I hate it haha

@Neumann-A
Copy link
Contributor Author

@strega-nil The fun part is that it is actual documented:

If the cache entry does not exist prior to the call or the FORCE option is given then the cache entry will be set to the given value. Furthermore, any normal variable binding in the current scope will be removed to expose the newly cached value to any immediately following evaluation.

(but really that last sentence should be big and in red)

@PhoebeHui PhoebeHui added the category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed label Sep 25, 2020
@strega-nil strega-nil merged commit 180ec7e into microsoft:master Oct 12, 2020
@Neumann-A Neumann-A deleted the add_install_and_bootstrap_options branch October 12, 2020 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants