Better CMake Part 10 -- When to use FetchContent

  Рет қаралды 4,585

Jefferson Amstutz

Jefferson Amstutz

Күн бұрын

Time stamps:
0:00​ - Intro
0:50 - Briefly discuss FetchContent
2:49 - FetchContent for Superbuilds?
4:24 - Example using FetchContent
8:37 - Example for when FetchContent may not be best
12:24 - Don't forget about the ExternalData module!
15:23 - Wrap up
--------------------
GitHub: github.com/jeffamstutz
Twitter: / jeffamstutz​
Blog: jeffamstutz.io/​

Пікірлер: 8
@oppdatertdejegabonnererpa9066
@oppdatertdejegabonnererpa9066 2 жыл бұрын
Will you cover CTest for a future video? Btw, love the CMake series :)
@ejovo
@ejovo 2 жыл бұрын
I second ctest!
@chrisjthrasher
@chrisjthrasher 2 жыл бұрын
I’ve found that FetchContent is perfect for grabbing testing frameworks. Tests aren’t part of a project’s API so vendoring this dependency should place no extra burden on packagers who will disable tests while providing a really convenient experience for developers and CI runners who may not have the specific test framework version already installed.
@Stradigos
@Stradigos Ай бұрын
How do you do this with Boost? I cannot figure that out. I'm using FetchContent to get it, and it configures it, but find_package does not work on it.
@Crossbow123
@Crossbow123 2 жыл бұрын
I'm somewhat surprised though that neither the official CMake documentation nor the official CMake book mention any of this apart from the "raw" documentation of the functions.
@rockywong3664
@rockywong3664 Жыл бұрын
I hope it's not the last tutorial episode.
Better CMake Part 8 -- Package Configs for Normal Libraries
30:28
Jefferson Amstutz
Рет қаралды 7 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 54 МЛН
Каха ограбил банк
01:00
К-Media
Рет қаралды 10 МЛН
Better CMake Part 3 -- The Basics of Targets
16:23
Jefferson Amstutz
Рет қаралды 19 М.
What's Bazel? Why should you care?
42:50
Siemens Knowledge Hub
Рет қаралды 2,2 М.
C++ Weekly - Ep 372 - CPM For Trivially Easy Dependency Management With CMake?
8:58
C++ Weekly With Jason Turner
Рет қаралды 9 М.
CMake: Including Sub-folder Projects [Ep 5]
24:54
sudocpp
Рет қаралды 3,9 М.
Better CMake Part 7 -- Package Configs for Header Only Libraries
15:32
Jefferson Amstutz
Рет қаралды 6 М.
How to start a modern C++ project? - Mikhail Svetkin -  NDC TechTown 2023
58:45
Deep CMake for Library Authors - Craig Scott - CppCon 2019
1:01:35
Do you even test? (your code with CMake)
12:38
Code for yourself
Рет қаралды 18 М.
Better CMake Part 6 -- Superbuilds w/ ExternalProject
21:40
Jefferson Amstutz
Рет қаралды 8 М.
How-To Use C++ Libraries (without relying on a package manager)
30:22
Code, Tech, and Tutorials
Рет қаралды 51 М.