Minimal CMake. Learn the Best Bits of CMake to Create and Share Your Own Libraries and Applications

- Author: Tom Hulton-Harrop
- Language: ingliz tilida
- Writing: ingliz yozuvida
- Publisher: Packt Publishing
- Year: 2024
- Views: 78
CMake is one of those tools that unfortunately (though, not necessarily undeservedly) has a bit of a bad reputation. There are many developers out there who've been burned by CMake. They may have been forced to interact with it in a legacy code base, having had to deal with significant complexity, reams of CMake scripts, and questionable practices. Alternatively, they may have tried to use it for a new project, only to get stuck and frustrated trying to get things to work. As CMake has been around for a long time, there are many outdated examples and resources referencing old versions of CMake without all the latest features (and the benefit of hindsight about what works, and what not to do). As with any successful framework or language, CMake also comes with a certain amount of baggage, which is unfortunately unavoidable.