I have cmake
and make
set up on macOS and Linux and I am trying to port this build system to Windows.
On Windows I installed cmake
and was able to run cmake
with the -G "Visual Studio 17 2022"
option, which works, but then I don't know what to do with the files it outputs. There is no makefile
, so even when I installed make
with choco install make
I was not able to use make
. There is a Visual Studio solution .sln
file and some .vcxproj
files, but I can't find any information on what command I'm supposed to run next, since make
does not work.
The documentation for Running CMake says to run cmake-gui.exe
, which isn't helpful to me. The command line instructions mostly describe the cmake
command, and also mentions the make
command, but it does not mention what command to use on Windows since make
does not work.