Great video! One thing that always confuses me is that the terms MSVC toolchain and Visual Studio are often used interchangeably. Of course, this is understandable-after all, most people use MSVC within Visual Studio, but I still dislike the idea. I believe it must be possible to install MSVC on its own and use it from the command line to compile a simple project. I’d love it if you could demonstrate that. This is really something that I always wanted to see someone do.
Thanks. I cover installing just Visual Studio's command line tools in The CMake Tutorial (cmaketutorial.com). In brief: Look for "Built Tools for Visual Studio" on the Visual Studio download page, and download that one. Here's a quick link: visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022 One annoying thing with using Visual Studio from the command line, is that you have to run it from the "Developer Command Prompt for VS..." instead of the usual command line. Otherwise it won't be able to find the VS tools.
Thank you for the great explanation!
You're welcome.
Great video!
One thing that always confuses me is that the terms MSVC toolchain and Visual Studio are often used interchangeably. Of course, this is understandable-after all, most people use MSVC within Visual Studio, but I still dislike the idea. I believe it must be possible to install MSVC on its own and use it from the command line to compile a simple project. I’d love it if you could demonstrate that. This is really something that I always wanted to see someone do.
Thanks.
I cover installing just Visual Studio's command line tools in The CMake Tutorial (cmaketutorial.com). In brief:
Look for "Built Tools for Visual Studio" on the Visual Studio download page, and download that one. Here's a quick link:
visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022
One annoying thing with using Visual Studio from the command line, is that you have to run it from the "Developer Command Prompt for VS..." instead of the usual command line. Otherwise it won't be able to find the VS tools.
You should do cmake vs bash script next
Noooooooo! Actually, that would be preferable to using Autotools.
My plan is to do Bazel next.