Book

CMake Best Practices

This book is a collection of some excellent techniques that will help you to make the best use of CMake. It shows you how to integrate various development tools into your CMake workflow and covers field-proven best practices for using CMake effectively even in large, complex settings.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

13h32m

Language

English

About Book

Who Is This Book For?

This book is for software engineers and build system maintainers working with C or C++ on a regular basis and trying to use CMake to better effect for their everyday tasks. Basic C++ and general programming knowledge will help you to better understand the examples covered in the book.

Book content

chapters 13h32m total length

Kickstarting CMake

Accessing CMake in Best Ways

Creating a CMake Project

Packaging, Deploying and Installing a CMake Project Effortlessly

Integrating Third- Party Libraries and Dependency Management

 Automatically Generating Documentation with CMake

Seamless Integration of Code Quality Tools with CMake 

Executing Custom Tasks with CMake

Creating Reproducible Build Environments

Handling Distributed Repositories and Dependencies in a Super-build

Automated Fuzzing with CMake

Cross-Platform-Compiling Custom Toolchains

Reusing CMake Code

Optimizing and Maintaining CMake Projects

Migrating to CMake

Contributing to CMake and Further Reading Material

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required