Better CMake Part 2 -- Functions and Macros

  Рет қаралды 15,053

Jefferson Amstutz

Jefferson Amstutz

Күн бұрын

Topic time stamps:
0:00 - Intro
0:38 - Why functions in CMake?
1:52 - Motivate an example: print()
3:20 - Talk through print() ver. 1
5:36 - Built-in function parameter variables
7:35 - print() ver. 2 -- variadic version
8:34 - Macros vs. functions
10:43 - Browse OSPRay for more examples
12:49 - print_env()
14:18 - Wrap up
--------------------
GitHub: github.com/jeffamstutz
Twitter: / jeffamstutz
Blog: jeffamstutz.io/

Пікірлер: 14
@user-ou2im6bh6h
@user-ou2im6bh6h 8 ай бұрын
Your videos are so good, help me understand cmake a lot , huge thanks, please keep working
@jordan4220
@jordan4220 3 жыл бұрын
Happy to see clear concise videos on cmake. I've seen it used incorrectly quite often. I'm still learning the right way to use the tool and your videos help a lot. Would help if you provided videos on target installing too with copying over a libraries public header structure, I think that would be super useful!
@binaryvixen899
@binaryvixen899 2 ай бұрын
Hand in-lining this stuff is tempting when a project is first starting, but as it grows it just turns into what you said: spaghetti code
@MegaHatef
@MegaHatef Жыл бұрын
Thank you, sir! the tutorial is so clear and informative.
@alvarobyrne
@alvarobyrne Жыл бұрын
Thank you for this and the whole cmake playlist!!!!
@lllllltar
@lllllltar 3 жыл бұрын
Thanks for cmake videos!
@guoxinxin693
@guoxinxin693 2 жыл бұрын
I learned a lot from this video, thanks! :)
@baqtronic7704
@baqtronic7704 2 жыл бұрын
THIS was great!
@technicallyinformativestem3032
@technicallyinformativestem3032 2 жыл бұрын
4:09 print function in cmake 9:05 macro
@harshadgaikwad5884
@harshadgaikwad5884 3 ай бұрын
thanks a lot man
@tljstewart
@tljstewart Жыл бұрын
Jeff hope your doing well, where you been man, your videos are brilliant! Comeback
@jeffersonamstutz
@jeffersonamstutz Жыл бұрын
I’m still alive! 😅 I’ve had too many good things going on in life, but as some things start to clear I certainly want to get back to making videos again. Thanks for the support!
@boardsdiscovery5803
@boardsdiscovery5803 3 жыл бұрын
seems linux, but it isn't. It is very clean. What is your ide? online IDE?
@jeffersonamstutz
@jeffersonamstutz 3 жыл бұрын
All VS Code on Ubuntu 20.04! I record on my Mac though with VNC from the Mac to my Ubuntu workstation. Also using the dwm window manager and zsh for my shell, but everything else is pretty much stock Ubuntu. I get VS Code and CMake via snap instead of apt...been loving it!
Better CMake Part 3 -- The Basics of Targets
16:23
Jefferson Amstutz
Рет қаралды 19 М.
Advanced C: The UB and optimizations that trick good programmers.
1:12:34
Eskil Steenberg
Рет қаралды 159 М.
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,1 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
Better CMake Part 4 -- find_package() Basics
23:10
Jefferson Amstutz
Рет қаралды 20 М.
Better CMake Part 1 -- Basic Project Setup and Usage
11:31
Jefferson Amstutz
Рет қаралды 44 М.
The Difference Between Islam and Christianity - Jordan Peterson
5:09
x86 Assembly Crash Course
10:45
HackUCF
Рет қаралды 823 М.
Create Feature Macros with CMake's target_compile_definitions
9:35
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 348 М.
Do you even test? (your code with CMake)
12:38
Code for yourself
Рет қаралды 18 М.
Better CMake Part 10 -- When to use FetchContent
16:14
Jefferson Amstutz
Рет қаралды 4,6 М.
Better CMake Part 6 -- Superbuilds w/ ExternalProject
21:40
Jefferson Amstutz
Рет қаралды 8 М.