-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
CMake Best Practices - Second Edition
By :
CMake Best Practices
By:
Overview of this book
Discover the cutting-edge advancements in CMake with the new edition of CMake Best Practices. This book focuses on real-world applications and techniques to leverage CMake, avoiding outdated hacks and overwhelming documentation.
You’ll learn how to use CMake presets for streamlined project configurations and embrace modern package management with Conan 2.0. Covering advanced methods to integrate third-party libraries and optimize cross-platform builds, this updated edition introduces new tools and techniques to enhance software quality, including testing frameworks, fuzzers, and automated documentation generation. Through hands-on examples, you’ll become proficient in structuring complex projects, ensuring that your builds run smoothly across different environments. Whether you’re integrating tools for continuous integration or packaging software for distribution, this book equips you with the skills needed to excel in modern software development.
By the end of the book, you’ll have mastered setting up and maintaining robust software projects using CMake to streamline your development workflow and produce high-quality software.
Table of Contents (22 chapters)
Preface
Chapter 1: Kickstarting CMake
Chapter 2: Accessing CMake in the Best Ways
Chapter 3: Creating a CMake Project
Part 2 – Practical CMake – Getting Your Hands Dirty with CMake
Chapter 4: Packaging, Deploying, and Installing a CMake Project
Chapter 5: Integrating Third-Party Libraries and Dependency Management
Chapter 6: Automatically Generating Documentation
Chapter 7: Seamlessly Integrating Code Quality Tools with CMake
Chapter 8: Executing Custom Tasks with CMake
Chapter 9: Creating Reproducible Build Environments
Chapter 10: Handling Distributed Repositories and Dependencies in a Super-Build
Chapter 11: Creating Software for Apple Systems
Part 3 – Mastering the Details
Chapter 12: Cross-Platform-Compiling Custom Toolchains
Chapter 13: Reusing CMake Code
Chapter 14: Optimizing and Maintaining CMake Projects
Chapter 15: Migrating to CMake
Index
Other Books You May Enjoy
Appendix: Contributing to CMake and Further Reading Material
Customer Reviews