MENU

Fun & Interesting

CMake Tutorial for Absolute Beginners - From GCC to CMake including Make and Ninja

Gary Explains 60,556 7 months ago
Video Not Working? Fix It Now

If you write any C/C++ code for the Raspberry Pi Pico (or Pico 2) using the official SDK then you will need to use CMake. But, what is CMake? Does it replace Make or work with Make? In fact, what is Make? Here is my tutorial for absolute beginners. --- 00:00 Intro 01:19 gcc 02:17 gcc demo 02:41 More gcc 04:29 Another gcc demo 05:35 Make 07:36 Make demo 09:29 Makefile complexity 10:00 CMake 11:34 Out-of-source builds 13:24 CMake demo 16:40 The beauty of CMake 17:28 Ninja 19:06 CMake and Ninja demo 20:02 Summary 20:27 Outro Twitter: https://twitter.com/garyexplains Instagram: https://www.instagram.com/garyexplains/ #garyexplains

Comment