mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 15:17:49 +08:00
77967a6228
* [vcpkg-cmake-config] fix up cmake_current_packages_dir * Small changes * Address the review suggestion * Update ports/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake * Update the baseline version * Address the review suggestions * Address the review suggestions * fix up VCPKG_IMPORT_PREFIX if the file being modified at a deep subpath * Fix regressions * Remove out of date comments about multiconfig generators that are no longer relevant, fix spelling errors, and avoid calculating relative paths for the definition of VCPKG_IMPORT_PREFIX when not used. * Fix version database. Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> |
||
---|---|---|
.. | ||
copyright | ||
portfile.cmake | ||
README.md | ||
vcpkg_cmake_config_fixup.cmake | ||
vcpkg-port-config.cmake | ||
vcpkg.json |
vcpkg-cmake-config
vcpkg-cmake-config
provides vcpkg_cmake_config_fixup()
,
a function which both:
- Fixes common mistakes in port build systems, like using absolute paths
- Merges the debug and release config files.
This function should almost always be used when a port has *config.cmake
files,
even when the buildsystem of the project is not CMake.