4 ms·
> It's meant to be cross-platform, so a well structured CMake file will work in Windows. A well structured more conventional makefile can also run on Windows.
by asveikau 8y ago
> It's meant to be cross-platform, so a well structured CMake file will work in Windows.
A well structured more conventional makefile can also run on Windows. The tree I'm working on builds for Unix and Windows with the same makefile. (No cygwin or WSL either, just GNU make running on Win32. A few ifdefs and strategically placed variables.)
- codeflo 8y agoOn Windows, do you edit and debug your code in Visual Studio, or some other editor and just use the MSVC command line tools for building? Because one of the (very few) things I actually like about CMake is that it produces project files that Visual Studio can open directly.
- asveikau 8y agoI debug with windbg on Windows. I like it much more than the VS debugger. Habits I picked up from when I worked at MS.