A powerful, open-source software compiling environment that was especially designed to offer developers a means of checking and packaging their code
What’s new in CMake 3.20.4:
- Ben Boeckel (1):
- ci: use consistent sccache builds
- Brad King (8):
- VS: Add special case for ‘-T version=126.96.36.199’ under VS 16.10
Read the full changelog
Software development is usually a lengthy process that involves several steps even before getting close to a form that can be tested. Generating the build files and handling the source code, keeping it well structured and organized requires specialized utilities for the various stages of evolution.
Usually, putting a project together involves generating so-called makefiles and a ‘make’ program that makes everything turn into a whole. If the source code files are organized in these ‘makefiles’, they can be compiled easier and this is the final goal that CMake will help you achieve.
Generate makefiles with ease
Available as a GUI application, this tool offers a rather simple approach to generating build files with minimal configurations. The functions are neatly placed in the main window so the whole process should be quite straightforward.
The first thing you will have to do is browse for the source folder and make sure that the CMakeLists.txt file is stored inside that directory, because otherwise the operation will fail to complete.
Once those issues are settled, you can specify the output location where the binaries will be sent to. The rest of the task requires a bit of tinkering with the configuration, but that shouldn’t be a reason to worry about because much of it is automated.
A handy tool for developers
Thus, as soon as you hit ‘Configure’, CMake will go ahead and read the files contained in the source folder in order to detect the projects’ variables which it will display colored in red. After thoroughly checking them and making sure the values that are assigned to each are accurate, you can press the ‘Generate’ button and have the build files created in the designated location.
To sum things up, it’s safe to assume that CMake is indeed a powerful tool, but one that is mainly addressed to developers and advanced users who have to carry out a highly technical process.
CMake 3.20.4 / 3.20.20210616 Dev for Windows