Giter Club home page Giter Club logo

vcpkg-vscode-extension's Introduction

vcpkg CMake Tools

Vcpkg VSCode CMake extension provides vcpkg integration in VSCode.

It's still WIP, please help us to improve it in github.

Requirements

  • VSCode >= 1.76.0
  • CMake Tools extension >= 1.13.0

Usage

Enable vcpkg integration

  1. Ctrl(⌘) + Shift + P
  2. Search vcpkg.
  3. 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.

  1. Extension will select the triplet (dynamic) according to your system architecture, vcpkg toolchain will be added into cmake settings.

Disable vcpkg integration

  1. Ctrl(⌘) + Shift + P
  2. Search vcpkg.
  3. Select vcpkg: Disable vcpkg.
  4. vcpkg toolchain will be removed from cmake toolchain and other vcpkg setting will also be removed from cmake options.

Use static library

  1. Ctrl(⌘) + Shift + P
  2. Search vcpkg.
  3. Select vcpkg: Use static library.

Use dynamic library

  1. Ctrl(⌘) + Shift + P
  2. Search vcpkg.
  3. Select vcpkg: Use dynamic library.

Set vcpkg additional install options

  1. Open Settings - Extensions(in workspace) - Vcpkg.
  2. Add additional options one by one in Vcpkg › Target: Additional Options.

Release Notes

0.1.3

  • Now all settings will be synced in workspace settings
  • Vcpkg path can be set only once on the same machine

0.1.2

  • Fix target triplet can't be syncd when using dynamic lib

0.1.1

  • Fix vcpkg path is invalid on non-Windows
  • Add guide for VCPKG_INSTALL_OPTIONS

0.1.0

  • Support non-Windows
  • Fix the problem of changing settings without responding

0.0.4

  • Support VCPKG_INSTALL_OPTIONS

0.0.3

  • Update document.

0.0.2

  • Update logo

0.0.1

  • Add feature to enable/disable vcpkg.
  • Add feature to use dynamic/static triplet/library.

vcpkg-vscode-extension's People

Contributors

jackboosy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.