- Using with Visual Studio
In order to generate Visual Studio projects, Meson needs to know the settings of your installed version of Visual Studio. The only way to get this information is to run Meson under the Visual Studio Command Prompt.
You can always find the Visual Studio Command Prompt by searching from the Start Menu. However, the name is different for each Visual Studio version. With Visual Studio 2019, look for “x64 Native Tools Command Prompt for VS 2019”. The next steps are the same as always:
cd into your source directory