Creating CMake Libraries - That others can find and use.

Описание к видео Creating CMake Libraries - That others can find and use.

In this video we're going to create a CMake library, and then configure that library so that we can generate everything needed for it to be properly built, installed and distributed. We'll go over installing files with cmake, generating the required cmake files so users can install and find it on their system, and finally build and link against it!

https://github.com/constref/cmake-exa...

00:00 - Introduction
01:25 - The build configuration
02:48 - Setting up include directories
04:36 - Creating the EXPORT target
05:40 - Installing the EXPORT target
07:35 - Installing the public header
09:06 - Making it findable!
10:02 - Find vs Config Scripts
11:36 - Creating the Config File
14:17 - Installing and Testing the Library
19:01 - Calling into our Library
19:41 - Finding and Linking
23:23 - Using the library
24:16 - Debug vs Release Mismatch

Комментарии

Информация по комментариям в разработке