Explore authoritative CMake books by top authors including Radovan Bast and Ken Martin, renowned for best-selling, expert-approved guides.
Updated on June 27, 2025·We may earn commissions for purchases made via this page
0 of 5 books have Audiobook versions
We're launchingLaunching on Product Hunt today 🎉We just launchedJust launched on Product Hunt 🎉
Modelpeers, from the BookAuthority teamFrom the BookAuthority team: Modelpeers, a free way to follow AI models and agents like you follow people. We'd love your support.
There's something special about books that both critics and crowds love, especially in a technical field like CMake. Millions of developers have turned to these five best-selling CMake books to streamline their build processes and tackle complex projects with confidence. CMake's role in modern software development continues to grow, making reliable learning resources invaluable for developers managing cross-platform builds and modular codebases.
These books are authored by leading experts with deep industry experience, such as Radovan Bast, who heads the CodeRefinery project, and Ken Martin, co-founder of Kitware and a key contributor to CMake itself. Their insights reflect practical, real-world applications and evolving best practices, helping developers from beginners to seasoned professionals.
While these popular books provide proven frameworks and widely validated approaches, you might consider creating a personalized CMake book tailored to your specific needs and goals. This custom book blends expert methods with your unique background for the most effective learning path.
Radovan Bast, a leader at the High Performance Computing Group at UiT in Norway and head of the CodeRefinery project, leverages his background in theoretical chemistry and extensive software development experience to offer a rich, example-driven exploration of CMake. His work on quantum chemistry codebases informs this book’s practical guidance, designed to help you handle complex build processes and modularize software effectively across various platforms.
Radovan is working at the High Performance Computing Group at UiT - The Arctic University of Norway in Troms and leads the CodeRefinery project. He has a PhD in theoretical chemistry and as code developer is contributing to a number of quantum chemistry programs.
Radovan Bast and Roberto Di Remigio bring their deep expertise in scientific computing and software development to demystify CMake in this detailed guide. You’ll find task-based recipes that move beyond basics to cover building, testing, and packaging modular software across platforms like Linux, macOS, and Windows. The book walks you through practical examples on handling complex multi-language projects, managing dependencies, and refactoring codebases into reusable modules, making it especially useful if you maintain or migrate large C, C++, or Fortran projects. If you want a hands-on, example-driven approach to mastering modern CMake workflows, this book offers exactly that without unnecessary jargon or filler.
Ken Martin, co-founder of Kitware and a key contributor to CMake, brings his extensive software engineering experience to this authoritative guide. His deep involvement in developing and promoting CMake makes this book a reliable resource for understanding the tool’s capabilities across platforms. The book reflects Ken’s expertise and commitment to making CMake accessible and practical for developers aiming to improve their build processes.
Ken Martin is a co-founder of Kitware, a company specializing in software development and open-source tools. He has extensive experience in software engineering and is recognized for his contributions to CMake, a widely used build system. His expertise in software development and project management has made him a sought-after speaker and educator in the field.
When Ken Martin and Bill Hoffman set out to write this guide, they aimed to clarify the complexities of CMake, a tool that unifies the build process across platforms. This book walks you through using CMake’s suite—including CTest and CPack—to build, test, and package software on Linux, Windows, and Mac OS X, with concrete examples on converting existing projects and writing build rules. You’ll gain practical knowledge on compiling sources, linking libraries, running tests, and managing installations, supported by key sections of the official documentation. If you’re a developer looking to streamline cross-platform builds or deepen your CMake skills, this book offers detailed guidance without unnecessary fluff.
This AI-created book on CMake is crafted based on your unique experience level and the specific challenges you face in build automation. You share the areas you want to focus on—whether it's dependency management, modular project setup, or cross-platform builds—and this book delivers exactly the knowledge you need. Personalizing the content ensures you spend less time sifting through generic guides and more time mastering the techniques that truly matter to your projects.
TailoredRead AI creates personalized nonfiction books that adapt to your unique background, goals, and interests. Instead of reading generic content, you get a custom book written specifically for your profession, experience level, and learning objectives. Whether you're a beginner looking for fundamentals or an expert seeking advanced insights, TailoredRead crafts a book that speaks directly to you. Learn more.
This tailored book explores battle-tested CMake methods tuned to your unique development challenges, delivering a focused learning journey that matches your background and goals. It covers foundational concepts like build configuration and cross-platform integration, progressing to advanced topics such as dependency management and project structuring. By concentrating on widely validated techniques combined with your specific interests, it reveals how to streamline build processes and harness CMake’s flexibility effectively. This personalized guide examines practical scenarios and common obstacles developers face, helping you confidently tackle complex modular builds with insights that resonate with your experience and ambitions.
Rafał Świdziński, a staff engineer at Google with over 12 years in software development, leverages his experience working with industry leaders like Amazon and Cisco Meraki to craft this guide. His deep commitment to code quality and innovation shapes the book’s focus on building maintainable, high-quality C++ projects using modern CMake techniques. This background ensures the book is grounded in real-world engineering challenges and solutions.
Rafał Świdziński, a seasoned staff engineer at Google, boasts over 12 years of full-stack development expertise. With a track record of spearheading projects for industry giants like Cisco Meraki, Amazon, and Ericsson, he embodies a commitment to innovation. As a Londoner by choice, he remains at the forefront of technological progress, engaging in a myriad of personal ventures. His recent pivot toward AI in healthcare reflects his dedication to impactful advancements. Rafał values top-notch code quality and craftsmanship, sharing insights through his YouTube channel and published books.
Rafał Świdziński, a seasoned Google staff engineer with over a decade of full-stack experience, brings a wealth of practical insight to this second edition. The book teaches you not just the CMake language, but how to architect maintainable and efficient build systems for complex C++ projects. You’ll explore hands-on examples that cover everything from compiling and linking to managing third-party dependencies and integrating quality checks like static analysis and testing frameworks. This guide fits developers and build engineers who want to elevate their CMake skills beyond basics and streamline professional workflows.
Dominik Berner is a software engineer with over 20 years experience in professional software development, writing code primarily in C++. His background includes projects ranging from surgical simulators in startups to maintaining large legacy systems in MedTech, and creating IoT and drone pilot software. Driven by his conviction that well-crafted build environments empower development teams to excel, Berner brings this expertise to the book. His practical insights on structuring CMake projects and integrating modern tools make this a valuable guide for improving your software development workflow.
Dominik Berner is a software engineer, blogger, and conference speaker with 20 years of professional software development under his belt. He codes mainly in C++ and has worked on many software projects, from writing bleeding-edge software for surgical simulators in a startup, to maintaining large legacy platforms for large corporations in the MedTech industry, to creating IoT solutions and writing pilot software for drones. He believes that well-designed and maintained build environments are one of the key elements to enable teams to write software efficiently and excel at creating quality software. When he is not writing code, he occasionally writes articles for his blog or speaks at conferences about software development.
Dominik Berner and Mustafa Kemal Gilor challenge the common pitfalls that many C++ developers face when using CMake by focusing on practical, modern techniques that avoid outdated hacks and documentation overload. You’ll gain a solid grasp of setting up modular, reusable CMake projects and integrating advanced tools like Conan 2.0 for package management, fuzz testing, and automated documentation. The book is particularly useful if you want to streamline your build environment across platforms and improve your CI/CD pipelines. If you’re already familiar with C++ basics and want to elevate your build system to handle complex, scalable projects, this book offers concrete examples and strategies that can fit your workflow.
Tom Hulton-Harrop is a seasoned game and engine developer with deep expertise in C, C++, Swift, Objective-C, and C#. His extensive experience with cross-platform development and CMake shapes this book's practical approach, focusing on the most relevant parts to get you productive quickly. Drawing from real-world software projects, Tom guides you through creating and sharing your own libraries and applications, making complex build automation accessible for developers like you.
Tom Hulton-Harrop is a seasoned game and engine developer with extensive experience in software development. He specializes in cross-platform development and has a strong background in C, C++, Swift, Objective-C, and C#. His expertise in CMake allows him to create efficient and maintainable software solutions. Tom's practical approach to teaching CMake is evident in his writing, where he focuses on the most relevant aspects to help readers become productive quickly.
The methods Tom Hulton-Harrop developed while working as a game and engine developer shine through in this focused exploration of CMake. You’ll move beyond the basics, learning how to set up cross-platform builds, integrate external libraries, and create reusable components for your projects. The chapters build logically from simple console applications to complex windowed apps, offering practical examples that reflect real development challenges. If you work with C, C++, or similar languages and want to simplify your build process without wading through unnecessary detail, this book offers a clear, approachable path.
This custom AI book on CMake is created specifically based on your experience level and development goals. By sharing your background and what you want to focus on, the book offers targeted guidance that resonates with your unique build challenges. AI crafts a step-by-step 30-day plan tailored to accelerate your skills efficiently, so you spend less time sifting through generic material and more time applying relevant techniques. It’s a practical way to master CMake features that matter most to you.
TailoredRead AI creates personalized nonfiction books that adapt to your unique background, goals, and interests. Instead of reading generic content, you get a custom book written specifically for your profession, experience level, and learning objectives. Whether you're a beginner looking for fundamentals or an expert seeking advanced insights, TailoredRead crafts a book that speaks directly to you. Learn more.
This tailored book explores rapid, personalized techniques to accelerate your mastery of CMake within 30 days. It covers essential build system concepts and guides you through step-by-step actions designed to match your background and specific goals. By focusing on your individual interests, the book examines key CMake features, build optimizations, and automation practices that have resonated with millions of developers. This custom approach helps you learn efficiently, integrating proven insights with your unique needs to make meaningful progress quickly. Readers dive deep into build configuration, cross-platform challenges, dependency management, and scripting nuances, all adapted to what you want to achieve.
The best CMake books and more, in your inbox each week. No account needed.
Conclusion
These five CMake books collectively emphasize proven frameworks and best practices that have helped countless developers optimize their software build environments. They cover everything from practical modular builds to advanced C++ integration and scalable project structures.
If you prefer proven methods grounded in real-world use, start with "CMake Cookbook" or "Mastering CMake" for solid foundational knowledge. For more advanced or scalable approaches, combine insights from "Modern CMake for C++" and "CMake Best Practices." Those seeking simplicity and quick productivity should consider "Minimal CMake."
Alternatively, you can create a personalized CMake book to combine these widely-adopted methods with your unique challenges and objectives. These validated strategies have proven their value helping many developers succeed in complex build automation.
Frequently Asked Questions
I'm overwhelmed by choice – which book should I start with?
Start with "CMake Cookbook" for practical, task-based learning that eases you into modular builds. It's approachable and packed with examples that help build confidence before tackling more advanced topics.
Are these books too advanced for someone new to CMake?
Not at all. Books like "Minimal CMake" focus on core concepts and streamlined builds, making them ideal for beginners. Others gradually increase in complexity, so you can progress at your own pace.
What's the best order to read these books?
Begin with "Minimal CMake" or "CMake Cookbook" to grasp fundamentals, then move to "Mastering CMake" and "Modern CMake for C++" for deeper automation and advanced techniques. Finish with "CMake Best Practices" for scalable workflows.
Which books focus more on theory vs. practical application?
"Mastering CMake" offers thorough explanations of CMake's architecture and tools, while "CMake Cookbook" and "Minimal CMake" lean heavily on practical examples and hands-on recipes for immediate use.
Are any of these books outdated given how fast CMake changes?
Recent editions like "Modern CMake for C++" and "CMake Best Practices" reflect the latest CMake developments. Older foundational books still provide valuable context but pairing them with newer titles is wise.
Can I get a CMake book tailored to my specific needs?
Yes! While these expert books cover proven methods, a personalized CMake book can complement them by targeting your unique projects and goals. You can create your custom CMake book here.
📚 Love this book list?
Help fellow book lovers discover great books, share this curated list with others!