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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page