520dfe11bc
* [vcpkg] Further fix for clang/gcc * [vcpkg] Only default target triplet to windows if on windows * [mpfr] add MPFR_USE_INTMAX_T * [mpfr] prepend stdint to header * [mpfr] fix portfile * [mpfr] fix source path * [mpfr] define have_stdint_h * [mpfr] revert portfile patch * [mpfr] prefer ninja * [mpfr] bump version * Updated benchmark to v1.3 * [libmspack] Initial port. * [vcpkg] Add --x-xunit internal command to print installation results in a VSTS friendly format. * [many ports] Updates to latest * [llvm] Fail early on UWP * [netcdf-c] Fix x64-windows-static builds * [harfbuzz] Revert upgrade due to regression * Exit early if no VS is found * [libsodium] Fix static build trying to copy dlls * Specify VSLANG=1033 to use english locale in builds Resolves several locale-specific issues outside our control * Exclude and warn about VS instances without English language pack Resolves several locale-specific issues outside our control * [botan] Revert upgrade due to regressions * [vlpp] initial create * [vlpp] add the CppMerge.exe tool * libuv: update to v1.18.0 * [hotfix] Remove VSLANG=1033. It is causing a lot of Process creation failed with error code: 87 * Properly fix VSLANG=1033 * [vcpkg-contact-survey] Add monthly survey prompt * Update libtorrent to 1.1.5 * [speex] Fix debug mode .def file. Add exports for extern globals. * [scintilla] Initial port. * Flint: enable DLL builds (#2271) * [flint] enable dynamic building * [flint] increment version * [sciter] Update to 4.0.6.5590 * Add `vcpkg integrate powershell` for tab completion * [autocomplete] Add info in README.md * [aws-sdk-cpp] update to 1.3.15 * Update CHANGELOG and bump version to v0.0.100 * Adding re2 port * [re2] Use vcpkg_from_github() * [re2] Don't pass BUILD_SHARED_LIBS BUILD_SHARED_LIBS should not be locked to shared/static, because the other type will fail. Vcpkg was overriding this flag before, so no behavior change. (i.e. static builds worked before as well). Also tests = OFF. * crow initial port * fcl: add missing dependencies within cmake Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de> * Fix pcl/CMakeLists fot Visual Studio 2017 Fix conditional branch for Visual C++ 2017. Visual C++ 2017 has a version number 191x. * [vcpkg-msbuild-integration] Address #2299 by using full path to powershell. * Fix path to powershell.exe https://github.com/Microsoft/vcpkg/issues/2299 * Improve error message when failing to parse package * [ms-gsl] update to 2017-12-04 * [ms-gsl] simplify portfile * Adaptation for so-5.5.20-beta1 * Improve error message on invalid dependency of package * [libsodium] Disable tests Also, this is a workaround for x64-windows-static taking forever in VS2017 15.5 * updata live555 live555-latest * [gmime] Update to version 3.0.5. * curl: update to v7.57.0 Due to changes in curl's CMake support, where it now installs .cmake files, we now have to make sure that they are installed into the correct directory (and not duplicated into the debug/share/ directory, either). Also, a change in the context of the 2nd patch required an update of said patch. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * [live555] Set version instead of latest and update CONTROL file * openssl: update to v1.0.2n The patch to allow for spaces in paths while running the Perl helpers is no longer necessary, and was dropped. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * [ACE] 6.4.6 * Update for sobjectizer v.5.5.20 * [jansson] Prefer ninja * [openssl] Remove entry of removed patch * [unicorn] Adding unicorn port * Improve vcpkgExtractFile. Also merge vcpkgRemoveDirectory/File * [vcpkg-cmake-toolchain] Use list(APPEND) instead of set(). Fixes #2336. Fix MPI issue introduced in cmake 3.10. Fixes #2317. Add _VCPKG_ROOT_DIR to persisted variables to reduce disk access during cmake reconfigure. * [gtest] Remove renaming of DLLs -- only the import libs need renaming. * [unicorn] Adjust handling of CRT and LIBRARY LINKAGE. Reformat to LF. * [mbedtls] Initial port. (#2286) * mbedtls: init port * add VCPKG_LIBRARY_LINKAGE for static libs only * [mbedtls] Slight cleanup * [tinyexif] add TinyEXIF library (#2221) * alac-decoder (#2176) * [tinyexif] update to version 1.0.1 * [speex] Fix regression for release mode import library * [speex] Fix release mode .def file. Add missing exports (#2340) * [speex] Fix release mode .def file. Add missing exports Fixed .def file in release mode (it is bugged after #2293 fix in |
||
---|---|---|
docs | ||
ports | ||
scripts | ||
toolsrc | ||
triplets | ||
.gitattributes | ||
.gitignore | ||
.vcpkg-root | ||
bootstrap-vcpkg.bat | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE.txt | ||
README.md |
Vcpkg
Overview
Vcpkg helps you get C and C++ libraries on Windows. This tool and ecosystem are currently in a preview state; your involvement is vital to its success.
For short description of available commands, run vcpkg help
.
Quick Start
Prerequisites:
- Windows 10, 8.1, or 7
- Visual Studio 2017 or Visual Studio 2015 Update 3
- Git
- Optional: CMake 3.10.1
Clone this repository, then run
C:\src\vcpkg> .\bootstrap-vcpkg.bat
Then, to hook up user-wide integration, run (note: requires admin on first use)
C:\src\vcpkg> .\vcpkg integrate install
Install any packages with
C:\src\vcpkg> .\vcpkg install sdl2 curl
Finally, create a New Project (or open an existing one) in Visual Studio 2017 or 2015. All installed libraries are immediately ready to be #include
'd and used in your project.
For CMake projects, simply include our toolchain file. See our using a package example for the specifics.
Tab-Completion / Auto-Completion
Vcpkg
supports auto-completion of commands, package names, options etc. To enable tab-completion in Powershell, use
.\vcpkg integrate powershell
and restart Powershell.
Examples
See the documentation for specific walkthroughs, including using a package and adding a new package.
Our docs are now also available online at ReadTheDocs: https://vcpkg.readthedocs.io/!
See a 4 minute video demo.
Contributing
Vcpkg is built with your contributions. Here are some ways you can contribute:
- Submit Issues in vcpkg or existing packages
- Submit Fixes and New Packages
Please refer to our Contribution guidelines for more details.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
License
Code licensed under the MIT License.