Packt

Building and Managing C++ Projects with Modern CMake

Cyber Monday: Ends in 3 days! Lock in Coursera Plus for $239/year and build skills all year.

Packt

Building and Managing C++ Projects with Modern CMake

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

6 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

6 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand and apply best practices for building C++ code with CMake

  • Gain practical knowledge of the CMake language and its modern features

  • Learn to manage dependencies and optimize build processes effectively

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

November 2026

Assessments

7 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Modern CMake for C++ Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 6 modules in this course

This module teaches learners how to organize and manage CMake projects using targets, configure target properties, and handle dependencies and conflicts. It covers techniques for improving build efficiency and maintainability through custom commands, object libraries, and structured project design.

What's included

1 video5 readings1 assignment

This module explores the use of generator expressions in CMake, focusing on how they enable build customization and adaptation to different toolchains. Learners will gain an understanding of common transformations, escaping techniques, and practical applications for building robust and flexible projects.

What's included

1 video4 readings1 assignment

This module covers essential techniques for optimizing C++ compilation using CMake, including preprocessor configuration, build time reduction, and error management. Learners will gain hands-on knowledge of CMake commands and best practices to improve efficiency in professional development environments.

What's included

1 video9 readings1 assignment

This module explores the critical processes of linking executables and libraries, covering different library types, symbol resolution, and the impact of linking order. Learners will gain practical skills in managing build configurations and resolving common linking issues.

What's included

1 video5 readings1 assignment

This module provides a comprehensive guide to managing dependencies in CMake, covering techniques for handling system and external libraries, writing custom find modules, and leveraging CMake features like FetchContent for efficient dependency resolution and project scalability.

What's included

1 video6 readings1 assignment

This module introduces the C++20 modules feature, explaining how it enhances build efficiency and code organization compared to traditional header files. It covers practical implementation using CMake, including version considerations and configuration changes. Learners will gain an understanding of how to integrate modules into their projects effectively.

What's included

1 video2 readings2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
2,690 Courses786,995 learners

Offered by

Packt

Explore more from Mobile and Web Development

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

What brings you to Coursera today?

  • cplus logo

    Ends in 3 days! Cyber Monday savings on a year of skills

    CyberMonday-Ends Soon
  • Coursera for Teams

    Gift your team new skills

Frequently asked questions