Better CMake Part 8 -- Package Configs for Normal Libraries

Опубликовано: 02 Ноябрь 2024
на канале: Jefferson Amstutz
7,344
152

Time stamps:

0:00​ - Intro
1:42​ - Overview of example project
4:45 - Build vs. install interfaces (generator expressions)
8:39 - Using GNUInstallDirs for install destinations
11:23 - Installing targets + exports
14:57​ - Namespace your exports
15:51​ - Exports destination
17:08​ - Namelinks (for Unix platforms)
18:20​ - Installing headers
20:19 - Generating the package config file
22:32 - Separate config generation vs. install
23:51 - Processing the config input file
26:41 - Creating a version file (optional)
27:47 - Summary
28:57​ - Wrap up

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

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