CMake Cookbook
This book will provide you with practical recipes to manage the build system using CMake. You will be taken through a series of task-based examples that demonstrate how to employ the CMake toolbox to build portable and modular code and to minimize the code complexity of the build infrastructure.
Offered by
Difficulty Level
Intermediate
Completion Time
20h12m
Language
English
About Book
Who Is This Book For?
If you are a software developer keen to manage build systems using CMake or would like to understand and modify CMake code written by others, this book is for you. A basic knowledge of C++, C, or Fortran is required to understand the topics covered in this book.
CMake Cookbook
- About Book
- Who Is This Book For?
- Book Content
Book content
chapters • 20h12m total length
From a Simple Executable to Libraries
Detecting the Environment
Detecting External Libraries and Programs
Creating and Running Tests
Configure-time and Build-time Operations
Generating Source Code
Structuring Projects
The Superbuild Pattern
Mixed-language Projects
Writing an Installer
Packaging Projects
Building Documentation
Alternative Generators and Cross-compilation
Testing Dashboards
Porting a Project to CMake
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!