MENU

Fun & Interesting

Better CMake Part 2 -- Functions and Macros

Jefferson Amstutz 17,213 lượt xem 4 years ago
Video Not Working? Fix It Now

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: https://github.com/jeffamstutz
Twitter: https://twitter.com/jeffamstutz
Blog: https://jeffamstutz.io/

Comment