This question is similar to How to use the new Visual Studio 2017 cmake features with gitlab CI runners but I didn't want to change the other question in case people are really looking for a specific gitlab-ci solution. If they are too similar than maybe this one should be closed.
Independently of gitlab-ci I would like to know how to compile cmake projects with the new Visual Studio 2017 from script or a command prompt. For previous versions msbuild
was used together with a *.sln
file (see How do I compile a Visual Studio project from the command-line?). But now that you do no longer have to provide a *.sln
file to open a project but can simply open a folder (and VS will take care of creating internally some sort of solution), I was wondering if things also get easier on the command line side.