vcpkg/ports/vcpkg-cmake-config
Kai Pastor 8f6e982c35
[vcpkg-cmake-config] Fix removal of files in debug/share (#18063)
* Actually remove *empty* directories

* Quote unused files individually

* New version

* x-add-version
2021-05-24 12:02:20 -07:00
..
copyright
portfile.cmake
README.md
vcpkg_cmake_config_fixup.cmake [vcpkg-cmake-config] Fix removal of files in debug/share (#18063) 2021-05-24 12:02:20 -07:00
vcpkg-port-config.cmake
vcpkg.json [vcpkg-cmake-config] Fix removal of files in debug/share (#18063) 2021-05-24 12:02:20 -07:00

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.