Get Free Shipping on orders over $79
Minimal CMake : Learn the best bits of CMake to create and share your own libraries and applications - Tom Hulton-Harrop

Minimal CMake

Learn the best bits of CMake to create and share your own libraries and applications

By: Tom Hulton-Harrop

Paperback | 3 January 2025

At a Glance

Paperback


$111.75

or 4 interest-free payments of $27.94 with

 or 

Ships in 10 to 15 business days

Design, build, and share cross-platform software effortlessly, and enhance your development workflow with this hands-on guide

Key Features:

- Unlock efficient cross-platform builds with streamlined CMake setups

- Learn CMake's most powerful features for streamlined software development from a seasoned game and engine developer

- Create and distribute an application with step-by-step instructions, practical examples, and working code

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

Minimal CMake guides you through creating a CMake project one step at a time. The book utilizes the author's unique expertise in game and engine development to craft compelling examples of how CMake can be used to build complex software. The chapters introduce concepts gradually, each one building on the last. Throughout the course of the book, you will progress from a simple console application all the way through to a full windowed app.

The book will help you build a strong foundation in CMake that will translate to future projects. You'll learn how to integrate existing software libraries to enhance your app's functionality, how to build reusable libraries to share with others, and how to manage developing for multiple platforms simultaneously, including macOS, Windows, and Linux. You'll also find out how CMake facilitates testing and how to package your application ready for distribution.

The book aims to not overwhelm you with everything there is to know about CMake. Instead, it focuses on the most relevant and important parts that will help you become productive quickly.

By the end of this book, you will be a confident CMake user and will have gained the skills and experience to build and share your own libraries and applications.

What You Will Learn:

- Set up projects for seamless cross-platform development

- Integrate external libraries to enhance your project's functionality

- Create and share reusable libraries

- Manage complex software dependencies for improved maintainability

- Package and distribute applications efficiently

- Utilize top tools to streamline your CMake workflow

- Explore resources for continuous learning

Who this book is for:

If you are a programmer skilled in C, C++, Swift, Objective-C, or C#, and keen on cross-platform development and open-source software, this book is for you. A solid grasp of CMake helps you to effectively utilize and create open-source libraries and applications. No prior knowledge of CMake is necessary, though familiarity with an imperative programming language (especially C and C++) is beneficial. While a basic understanding of the terminal is advantageous, comprehensive setup instructions will guide you across Windows, macOS, and Linux (Ubuntu).

Table of Contents

- Getting Started

- Hello, CMake!

- Using FetchContent with External Dependencies

- Creating Libraries for FetchContent

- Streamlining CMake Configuration

- Installing Dependencies and ExternalProject_Add

- Adding Install Support for Your Libraries

- Using Super Builds to Simplify Onboarding

- Writing Tests for the Project

- Packaging the Project for Sharing

- Supporting Tools and Next Steps

More in Programming & Scripting Languages

The C Programming Language : Prentice Hall Software - Brian Kernighan

RRP $107.04

$75.75

29%
OFF
Swift : The Practical Guide - Kerem Koseoglu
Introduction to Programming Languages - Gordon Hurley
Learning Go : An Idiomatic Approach to Real-World Go Programming - Jon Bodner
Fundamentals of Python : 3rd Edition - First Programs - Kenneth Lambert
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
Fluent Python : Clear, Concise, and Effective Programming 2nd Edition - Luciano Ramalho
C++ Programming Language (hardcover), The - Bjarne Stroustrup

RRP $117.91

$89.99

24%
OFF
Problem Solving and Program Design in C, Global Edition : 8th Edition - Elliot Koffman
Python Automation For Dummies : For Dummies (Computer/Tech) - Alan Simpson
Coding For Dummies, All New Edition : For Dummies (Computer/Tech) - Paul McFedries
SQL Essentials For Dummies : For Dummies (Computer/Tech) - Richard Blum
Concepts of Programming Languages, Global Edition : 12th Edition - Robert Sebesta