Power BI Fundamentals - Create visualizations and dashboards from scratch
Save 40% on 3 months of Coursera Plus
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This tutorial from Digi-Key explores CMake, a cross-platform build system generator that simplifies C and C++ project management. Learn how to set up and build a "Hello, World!" project by creating a static library and linking it to an executable target. Discover essential CMake commands like cmake_minimum_required(), project(), add_library(), add_executable(), and target_link_libraries(). The 29-minute video demonstrates how to organize source code effectively, maintain clean project structures, and work with multiple build systems by simply swapping generators. See how CMake's target-based design helps manage compiler flags, dependencies, and libraries as projects grow in complexity. The tutorial also shows how to build Zephyr projects using pure CMake commands without west, proving how west functions as a meta-tool. Complete with a challenge to add a custom library to a previous blinky demo, this guide provides a foundation for building everything from simple utilities to complex embedded applications using a modern, maintainable approach. A written version and GitHub repository with solutions are available for reference.
Syllabus
0:00 Intro
1:00 CMake Documentation
1:28 Demo Library and Application
6:02 Demo CMakeLists.txt
13:21 Using CMake
18:27 Going Further with CMake
18:52 Zephyr’s CMake Extensions
20:15 Using CMake in Zephyr
25:30 Challenge: Adding a Custom Library
28:15 Conclusion
Taught by
Digi-Key