C++ Development in the Terminal on Windows
Hey all,
I’m a full-stack developer, and recently I’ve become interested in learning C++. My main IDE is Neovim, so I mostly work from the terminal.
I’m planning to learn C++ to build Windows programs, so I’ll be using Windows and the Windows command line. I’m aware of WSL, but I specifically need to build in a Windows environment.
My question is: what is the best way to set up C++ projects and run them quickly with simple commands?
What is everyone using for this workflow? I’ve seen CMake, but from studying how Visual Studio and CLion do things, it looks like they keep adding every new file to the CMakeLists.txt. I find that a bit tedious, but I’m wondering if that’s just what everyone does: create a file, then manually add it to CMakeLists.txt.
Basically, I want to understand the workflow of people who use C++ mostly from the terminal. I don’t need anything super fancy since I’m still in the learning stage.
Thanks!