I have an existing C++ solution which I have been building and running using Visual Studio 2019. I would like to build and run the application on Ubuntu using g++ and Visual Studio Code. What is the best way of achieving this? Most of the samples provided are building single .cpp file but my application consists of many .cpp files built into one application executable.
https://code.visualstudio.com/docs/cpp/config-linux How do I set up Visual Studio Code to compile C++ code?
I have installed the https://github.com/fernandoescolar/vscode-solution-explorer extension but that only enables me to browse the C++ solution. How to build the solution and being able to debug and run the C++ application?
Any advice and insight is appreciated.