'C++ Visual Studio makefile project on WSL2

I have a C++ project that I cross-compile using a makefile (written by me, not automatically generated). I have recently moved to WSL2 and have been missing the good ol' days when I used Eclipse since (Visual Studio Code is not even close to what Eclipse can do).

I decided to give Visual Studio a go but I all I could find is this article about VS + WSL2 + cmake. https://docs.microsoft.com/en-us/cpp/build/walkthrough-build-debug-wsl2?view=msvc-170

Is it possible to create a C++ makefile project under WSL2 with Visual Studio?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source