by shadowmint · 11y ago · 0 comments
cmake ..
cmake --build .
This smartly invokes make/ninja/msbuild or whatever directly from the command line; very useful on windows machines or to have 'universal' cmake runners for CI that touches multiple platforms.(Also, tutorials; `cmake .. && cmake --build .` should smartly determine the correct compiler for the system and build it; you don't need the -G "FOO" stuff unless you're specifically doing something fancy)
What does it do under Windows? Does it run say, devenv.exe/msbuild in the shell, as opposed to in Visual Studio?
(So you can actually be in 100% console mode in windows if you want and never launch VS. :)