Skip to main content

Utility to update Visual Studio Code C++ Tools include paths from a conanfile

Project description

Conan Utility For Visual Studio Code

Overview

This package provides a helper method for a Conan project's conanfile.py to update the Visual Studio Code C++ Tools plugin after installing dependencies, so that Intellisense finds the installed paths

How to use

Use a conanfile.py instead of conanfile.txt to define your project dependencies.

Then, in your class, add an event handler for imports:

#...
from parktoma.vscconan import update_cpp_tools

class MyProject(ConanFile):
    #...
    def imports(self):
        update_cpp_tools(self, conanfile_path=__file__)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parktoma-vscconan-1.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

parktoma_vscconan-1.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page