CMake, Tests & Tooling for C/C++ Projects [2026 Edition]

Master CMake, CI/CD, Unit Testing & Professional C++ Tooling – Build production-ready projects on Windows, Linux & Mac

  • 0.0 (0 Reviews)
  • 0 Students
  • 67 Lessons
  • Jan Schaffranek

Course Overview

Transform Your C/C++ Development Workflow – From Hobbyist to Professional

Can you write C++ code, but struggle with project structure, testing, and deployment? This course teaches you the professional workflows used at top tech companies – CMake, automated testing, continuous integration, and modern tooling.

What You'll Master:

Modern CMake from Scratch

  • Cross-platform builds for Windows, Linux, and macOS

  • Libraries, targets, and installation

  • Git submodules, Conan, and VCPKG for dependencies

  • CMake GUI for visual project configuration

Testing & Quality Assurance

  • Unit testing with Catch2

  • Code coverage measurement and visualization

  • Continuous Integration with GitHub Actions

  • Sanitizers for runtime checks (memory leaks, undefined behavior)

Professional C++ Tooling

  • Clang-Tidy – Static analysis for bug detection

  • Clang-Format – Automatic code formatting

  • Cppcheck – Additional static analysis

  • cmake-format – Clean CMakeLists.txt files

  • Pre-commit hooks – Enforce quality before commits

Documentation & Optimization

  • Doxygen for automated HTML documentation

  • Link Time Optimization (LTO) for performance

  • Debugging techniques across compilers

  • VSCode and Visual Studio 2022 integration

Cross-Compiler Support:

Works with GCC, Clang, and MSVC – Learn once, use everywhere.

Who Is This Course For?

Perfect for:

  • C/C++ developers ready to build professional projects

  • Engineers transitioning to industry-standard workflows

  • Students preparing for software engineering roles

  • Developers maintaining legacy codebases

  • Anyone wanting production-ready C++ skills

Prerequisites:

  • C/C++ basics (functions, classes)

  • Basic command-line experience

  • Willingness to learn professional tools

What You'll Achieve:

  • Set up cross-platform C++ projects with CMake

  • Write and automate unit tests with code coverage

  • Implement CI/CD pipelines with GitHub Actions

  • Use professional code quality tools

  • Generate documentation automatically

  • Deploy production-ready software

Why This Matters:

Industry Standard – CMake is the de-facto build system for C++
Job Requirement – These skills appear in job postings
Time Saver – Automation reduces manual work
Quality Insurance – Catch bugs before they reach users

Course Details:

6.5 hours of focused content – 67 lectures in 6 sections
Bestseller – 14,000+ students, 4.5-star rating
Updated November 2024 – Latest tools and practices
Full project template – Start your projects right

Elevate your C++ career – with 30-day money-back guarantee!

See you in class!

See more

FAQ

FAQ area empty

Course curriculum

6 chương 67 bài học 6 giờ 23 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Modern CMake
  • Prologue to the chapter 2:35
  • Hello World Example 9:06
  • CMake Command Line - Part 1 Học thử 2:43
  • Generators 4:27
  • Basic Project Structure Học thử 7:06
  • Intermediate Project Structure 8:42
  • Alternative Project Strucutre 4:12
  • Variables and Options Học thử 17:41
  • CMake Command Line - Part 2 2:42
  • Variable Cache 4:34
  • Configure File 11:42
  • Sources and Headers 6:28
  • CMake Command Line - Part 3 3:58
  • External Libraries: Git Submodule 18:59
  • Dependency Graph - Part 1 3:48
  • External Libraries: Fetch Content 15:13
  • Doxygen Documenation 7:34
  • Unit Testing with Catch2 12:20
  • CTest and Catch2 Update 13:10
  • Important CMake Variables 8:03
  • Dependency Graph - Part 2 1:32
  • Public, Interface and Private 2:53
  • Adding Compiler Warnings 8:42
  • Target_compile_features, options and definitions 5:30
  • Sanitizers 9:42
  • What is the IPO/LTO? 4:45
  • IPO/LTO in CMake 4:43
  • Generator Expressions 6:36
  • External Libraries: CPM 7:38
  • External Libraries: Conan 13:57
  • External Libraries: VCPKG 9:41
  • Which Tool for external Libraries? 4:18
Chương 3 The C++ Project Template
  • Final Github Repository 1:13
  • CMake Scripts Update 6:50
  • Clang-Tidy 12:05
  • Clang-Format and Cmake-Format 8:33
  • Github Pages 2:59
  • Unit Test Updates 3:26
  • Code Coverage 11:57
  • Github Actions 7:01
  • Pre-Commit 4:28
  • Install Command 4:29
  • CMake Extension: Debugging and Running 3:59
  • CMake Extension: CMake Kits 5:45
Chương 4 More about CMake and VSCode
  • Shared vs. Static Library 3:45
  • Header Only Library 3:23
  • Cross Compilation (Toolchains) 6:22
  • Using Pre-Compiled Libraries - Part 1 3:20
  • Using Pre-Compiled Libraries - Part 2 2:56
  • Custom Target 7:28
  • Custom Command 4:48
  • Execute Process 2:48
Chương 5 CMake GUI
  • CMake GUI 4:25
  • Windows: Visual Studio 2022 Project 4:26
Chương 6 Conclusion
  • ImGui and C Template Project 2:04
  • Conclusion 0:23
  • Bonus Lecture

Requirment

  • C/C++ Basics

  • Commandline Basics

Outcomes

  • CMake (Command Line and GUI)

  • Create modern C/C++ Projects

  • Use external Projects via Git, Conan and VCPKG

  • Automate the HTML Documentation (Doxygen)

  • Unit Testing with Catch2

  • Code Coverage of the Unit Tests

  • Continuous Integration with Github Actions

  • Tooling: Clang-Format, Clang-Tidy, Cppcheck

  • Tooling: Sanitizer, Cmake-Format, Pre-Commit

  • VSCcode and VS 2022 with GCC, Clang and MSVC

Instructor

...
Jan Schaffranek

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all