Vcpkg recent enhancements

EricMittelette

Vcpkg simplifies acquiring and building open source libraries on Windows. Since our first release we have continually improved the tool by fixing issues and adding features. The latest version of the tool is 0.0.71, here is a summary of the changes in this version:

  • Add support for Visual Studio 2017
    • VS2017 detection
    • Fixed bootstrap.ps1 and VS2017 support
    • If both Visual Studio 2015 and Visual Studio 2017 are installed, Visual Studio 2017 tools will be preferred over those of Visual Studio 2015
  • Improve vcpkg remove:
    • Now shows all dependencies that need to be removed instead of just the immediate dependencies
    • Add –recurse option that removes all dependencies
  • Fix vcpkg_copy_pdbs()
    • under non-English locale
  • Notable changes for buiding the vcpkg tool:
    • Restructure vcpkg project hierarchy. Now only has 4 projects (down from 6). Most of the code now lives under vcpkglib.vcxproj
    • Enable multiprocessor compilation
    • Disable MinimalRebuild
    • Use precompiled headers
  • Bump required version & auto-downloaded version of cmake to 3.7.2 (was 3.5.x), which includes generators for Visual Studio 2017
  • Bump auto-downloaded version of nuget to 3.5.0 (was 3.4.3)
  • Bump auto-downloaded version of git to 2.11.0 (was 2.8.3)
  • Add 7z to vcpkg_find_acquire_program.cmake
  • Enhance vcpkg_build_cmake.cmake and vcpkg_install_cmake.cmake:
  • Introduce pre-install checks:
    • The install command now checks that files will not be overwrriten when installing a package. A particular file can only be owned by a single package
  • Introduce ‘lib\manual-link’ directory. Libraries placing the lib files in that directory are not automatically added to the link line.

See the Change Log file for more detailed description: https://github.com/Microsoft/vcpkg/blob/master/CHANGELOG.md

As usual your feedback and suggestions really matter. To send feedback, create an issue on GitHub, or contact us at vcpkg@microsoft.com. We also created a survey to collect your suggestion.

0 comments

Discussion is closed.

Feedback usabilla icon