Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Effective CMake

CppNow via YouTube

Overview

Discover effective CMake techniques in this comprehensive conference talk from C++Now 2017. Learn how to leverage CMake, CTest, and CPack for building, testing, and packaging C++ projects. Explore best practices for managing dependencies, exporting libraries, and cross-compiling for different platforms. Gain insights into running tests in emulators, analyzing code coverage, and performing static and dynamic code analysis. Delve into topics such as function vs. macro usage, deprecation strategies, variable management, compile features and options, user requirements, target linking, and project boundaries. Master advanced concepts like exporting library interfaces, CPACK configuration, installing CMake projects, and working with external libraries. Enhance your C++ development workflow with practical knowledge on effective CMake usage.

Syllabus

Intro
Ugly Syntax
Function vs Macro
How do we evolve
Deprecation
Variables
No Variables
File Glop
Targets
Compile Features
Compile Requirements
Compile Options
User Requirements
Target Link Libraries
Pure User Requirements
Project Boundaries
Fine Modules
Export Library Interface
Directory Expression
CPAC
CPAC Configuration
Install CMake Projects
ImportExport Packages
Package Manager
External Libraries
Additional Guideline
C Test

Taught by

CppNow

Reviews

Start your review of Effective CMake

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.