Building a C++ project with CMake
Now that I know enough C++ to be able to build something useful, I started looking at tools that will make it possible to create maintainable projects. I’m exploring CMake because it is probably the most popular build tool for C++ projects. It allows you to create platform independent configuration files that can then be translated to the platform of your choice.
Installation
In Ubuntu, you can install CMake using apt-get:
1
sudo apt-get install cmake
For other systems, you can download the binary from CMake’s downloads page.