Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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