How to compile cmake on linux so that it can generate vsproj files?

I would like to generate visual studio project files on linux using cmake.

Unfortunately, the visual studio project file generator is not enabled by default in linux.

The cmake build instructions do not mention how to enable this feature on Linux. Generators seem to be included based on the platform on which cmake is built. Has anyone masked cmake to enable Visual Studio Project Generator on Linux?

We have tools that work with linux and windows to analyze projects by parsing .sln / .vcxproj files. However, generating .sln / .vcxproj files on windows is rather inconvenient, since our main development is on linux / osx.

+4
source share
1 answer

You cannot create Visual Studio solutions under Linux. Currently, you can create Visual Studio solutions via ssh for the Windows docker container.

+3
source

Source: https://habr.com/ru/post/1684908/


All Articles