Replace the "Makefile template" with a CMakeLists.txt
eyalroz opened this issue · comments
Instead of people having to semi-manually generate their Makefile
's; and so as to remove the large amounts of irrelevant content in the current makefile.suite
; and so as to allow for automatic detection of the C compiler, relevant libraries and related binaries/shell commands - let's just switch to assuming CMake 3.x is available. In this day and age this is a pretty safe assumption.
Actually, we can also drop the MS Visual Studio project files:
- CMake is now supported by Microsoft Visual Studio natively, so no extra files are necessary over
CMakeLists.txt
. - For pre-2017 versions of Microsoft Visual Studio, running CMake on Windows will generate project files you may use with Visual Studio.
- Free IDEs for Windows are typically even more CMake-friendly.