MENU

Fun & Interesting

Better CMake Part 4 -- find_package() Basics

Jefferson Amstutz 23,505 lượt xem 4 years ago
Video Not Working? Fix It Now

Topic time stamps:

0:00 - Intro
0:47 - Motivation
2:20 - find_package() overview
3:35 - VERSION
4:03 - REQUIRED
4:23 - QUIET
5:07 - MODULE and COMPONENTS
6:06 - Imported target names matter!
7:39 - Configs vs. modules
7:54 - Talk through a config example
8:55 - What is a config anyway?
11:08 - Talk through a module example
14:39 - Tell CMake how to find a config
17:52 - Don't panic when find_package() failes
22:13 - Environment organization matters!
22:43 - Wrap up

--------------------

GitHub: https://github.com/jeffamstutz
Twitter: https://twitter.com/jeffamstutz
Blog: https://jeffamstutz.io/

Comment