vcpkg/ports/vcpkg-cmake-get-vars
..
cmake_get_vars
portfile.cmake
README.md
vcpkg_cmake_get_vars.cmake
vcpkg-port-config.cmake
vcpkg.json

vcpkg-cmake-get-vars

This port contains a helper function to extract CMake variables into the scope of the portfile or other scripts