Build, install and find C/C++ dependencies, CMake and find_package
Автор: constref
Загружено: 2023-09-19
Просмотров: 8222
This tutorial shows how to add 2 different libraries into an example project. In one case we add the SDL2 development library provided by SDL2 using find_package(). In the 2nd example we first build and install the Freetype2 library, then we tell CMake how to find it and add it to our project with find_package() alongside SDL2. We'll be doing this all Visual Studio 2022 and using a CMake project type and the Developer Command Prompt.
Chapters:
0:00 Introduction
1:19 The add_subdirectory approach, not recommended
2:41 Using CMAKE_PREFIX_PATH
5:16 Build, install and find a package with CMake
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: