使用 Visual Studio 带 Meson 的 C++ 编译器?

Using Visual Studio C++ compiler w/ Meson?

我正在尝试使用 https://github.com/Pizzabelly/EasyRP 创建桌面应用程序,我需要 C++ 编译器才能继续。它说要下载“任何 c++ 编译器(cl、g++、clang++ 等)”,我想知道我是否必须下载一个新的 package/directory 才能继续,或者是否有办法使用 Visual Studio 2019(我用于代码开发)。

提前致谢。我是个新手。

我关注了https://mesonbuild.com/Using-with-Visual-Studio.html along with https://github.com/Pizzabelly/EasyRP。确保使用 VS 命令行。此外,EasyRP 对 运行 msbuild /p:Configuration=Release 说,我必须添加 msbuild /p:Configuration=Release ALLBUILD.vcxproj 以便它能够正确构建。