3 ms·
If you are targeting only Windows it is fine, but for portable programs you might not want to maintain parallel buid systems. CMake works though.
by gpderetta 6y ago
If you are targeting only Windows it is fine, but for portable programs you might not want to maintain parallel buid systems. CMake works though.
- naavis 6y agoVisual Studio supports CMake nowadays.
- mbeex 6y ago> Visual Studio supports CMake nowadays. It tries to embrace it, but this is not necessary (and limited for non-trivial cases - and what isn't non-trivial for serious projects). CMake itself has good VS support for a long time. I always try to create VS solutions in parallel with ninja, nmake, jom, whatever completely from it without hand-holding of some integration.
- fsloth 6y agoI've done my fair share of professionally maintaining portable programs and my preferred choice nowadays is to extract platform independent and platform dependent code to their own libraries and then just implement what is the most out-of-the box simple way to define a build per each platform.