Giter Club home page Giter Club logo

Comments (2)

Colengms avatar Colengms commented on September 27, 2024

Hi @deribaucourt . I believe with the latest C/C++ extension prerelease (1.19.3 - which should be fully released shortly), it's currently possible to accomplish what you suggested as an alternative. If using a compile_commands.json file, and a compilerPath is set in your c_cpp_properties.json file, it should be used instead of the compiler specified in compile_commands.json, yet the arguments provided in compile_commands.json should continue to used. Note that we do plan to change this behavior in the future, to provide a separate setting for this purpose, as overloading the compilerPath field may prevent the base configuration from being useful as a fallback for files not found in compile_commands.json. Some discussion of that issue is here: #11889

We can also keep this request open to track providing a way to override the PATH and/or other environment variables in cppbuild tasks.

from vscode-cpptools.

deribaucourt avatar deribaucourt commented on September 27, 2024

Thanks for answering so quickly,
This compilerPath does perfectly fulfill my need!
Awesome, thank you.

from vscode-cpptools.

Related Issues (20)

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.