ami-iit / ami-commons

In this repository we store tools and utilities shared between our repositories.
11 stars 2 forks source link

How to conveniently use conda/mamba when doing C++ or Python development on Visual Studio Code #8

Open traversaro opened 1 year ago

traversaro commented 1 year ago

Possibly related to https://github.com/ami-iit/ami-commons/issues/4, but also interesting on its own. Anyone of the users of conda/mamba + Visual Studio has any suggestions on how to use them together? What I tipically do is to type code in the terminal in which I run the environment I want to develop in, but perhaps there are better strategies.

S-Dafarra commented 1 year ago

After generating the visual studio project with cmake, you can run start ALL_BUILD.vcproj (the extension is probably wrong, I did not recall it) to open the project in Visual Studio and compile it. One thing to remember is to change manually the compilation type to "Release"