Running g ++ from Visual Studio may be incorrect.
A good alternative is to use CMake as your main build tool. It can generate makefiles that will build your project using MinGW g ++ (or Linux / Unix g ++), or it can generate project / solution files for Visual Studio. Creation folders are usually separate from the source folders, so itβs easy to have multiple assemblies of the same source.
, . , MinGW g++ GCOV. , Visual Studio.
CMake , , .
BTW - g++ Visual Studio? . , , -, . Visual Studio Express Edition , , , ( ).