Book

Modern CMake for C++

Building high-quality C/C++ solutions requires the most efficient tools. CMake is excellent for this task - it's versatile, widely supported, and established as the industry standard. This book gives you a comprehensive introduction if you’re new to CMake, featuring trends and best practices without bogging you down with outdated techniques.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h20m

Language

English

About Book

Who Is This Book For?

The book is for build engineers and software developers with knowledge of C/C++ programming who are looking to learn CMake to automate the process of building small and large software solutions. If you are someone who's just getting started with CMake, a long-time GNU Make user, or simply looking to brush up on the latest best practices, this book is for you.

Book content

chapters 15h20m total length

First Steps with CMake

The CMake Language

Setting Up Your First CMake Project

Working with Targets

Compiling C++ Sources with CMake

Linking with CMake

Managing Dependencies with CMake

Testing Frameworks

Program Analysis Tools

Generating Documentation

Installing and Packaging

Creating Your Professional Project

Appendix Miscellaneous Commands

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