computerbad.blogg.se

Visual studio code c++ how to build a .exe
Visual studio code c++ how to build a .exe






At its current state, Visual Studio Code doesn't have "native" support for defining tasks that use different shell commands. I'm not extremely familiar with "Run Mode", thus I will detail how to define multiple tasks to achieve a similar result.ĭisclaimer: Visual Studio Code does not support tasks that use different shell commands (see here). If you use "Run Mode", you should be able to configure Visual Studio Code to build your executable, and then launch it.

visual studio code c++ how to build a .exe

Optionally, you could also look into Visual Studio Code's "Run Mode" (see here).

visual studio code c++ how to build a .exe visual studio code c++ how to build a .exe

You can configure multiple tasks in Visual Studio Code, one of which will allow you to build your executable, and the other will run your executable.








Visual studio code c++ how to build a .exe