Vcpkg VSCode CMake extension provides vcpkg integration in VSCode.
It's still WIP, please help us to improve it in github.
- VSCode >= 1.76.0
- CMake Tools extension >= 1.13.0
- Ctrl(⌘) + Shift + P
- Search vcpkg.
- Select
vcpkg: Enable vcpkg
:
a. Extension will automaticly enable vcpkg if you already set environment variable VCPKG_ROOT
or already set vcpkg path in settings.
b. If environment variable VCPKG_ROOT
is not set, please choose vcpkg root folder.
- Extension will select the triplet (dynamic) according to your system architecture, vcpkg toolchain will be added into cmake settings.
- Ctrl(⌘) + Shift + P
- Search vcpkg.
- Select
vcpkg: Disable vcpkg
. - vcpkg toolchain will be removed from cmake toolchain and other vcpkg setting will also be removed from cmake options.
- Ctrl(⌘) + Shift + P
- Search vcpkg.
- Select
vcpkg: Use static library
.
- Ctrl(⌘) + Shift + P
- Search vcpkg.
- Select
vcpkg: Use dynamic library
.
- Open
Settings
-Extensions
(inworkspace
) -Vcpkg
. - Add additional options one by one in
Vcpkg › Target: Additional Options
.
- Now all settings will be synced in workspace settings
- Vcpkg path can be set only once on the same machine
- Fix target triplet can't be syncd when using dynamic lib
- Fix vcpkg path is invalid on non-Windows
- Add guide for VCPKG_INSTALL_OPTIONS
- Support non-Windows
- Fix the problem of changing settings without responding
- Support VCPKG_INSTALL_OPTIONS
- Update document.
- Update logo
- Add feature to enable/disable vcpkg.
- Add feature to use dynamic/static triplet/library.