Episode
C++ in VS Code: Building your Code with CMake
with Alexandra Kemper
Discover the benefits of using a build system for your C++ code. Follow along to learn how to add the CMake build system to your C++ project in VS Code. This includes information on how to navigate the CMake Tools Extension, create a CMakeLists.txt file, and use CMake Presets. If you run into any problems, feel free to reach out to us by reporting an issue on GitHub
Chapters
- 00:00 - C++ Development
- 00:10 - Check out: C++ in VS Code: A Quick Guide (youtube.com)
- 00:24 - What is a Build System
- 01:03 - Examples of Build Systems
- 01:30 - CMake
- 01:56 - Installing the CMake Tools Extension
- 02:40 - Demo - Building C++ code with CMake
- 03:10 - Step 1 - Create a CMakeLists.txt file
- 03:25 - Demo
- 05:21 - Step 2 - CMake Presets file
- 06:26 - Demo
- 07:45 - Step 3 - Select a build target
- 07:58 - Demo
- 09:29 - Thank you!
Recommended resources
Discover the benefits of using a build system for your C++ code. Follow along to learn how to add the CMake build system to your C++ project in VS Code. This includes information on how to navigate the CMake Tools Extension, create a CMakeLists.txt file, and use CMake Presets. If you run into any problems, feel free to reach out to us by reporting an issue on GitHub
Chapters
- 00:00 - C++ Development
- 00:10 - Check out: C++ in VS Code: A Quick Guide (youtube.com)
- 00:24 - What is a Build System
- 01:03 - Examples of Build Systems
- 01:30 - CMake
- 01:56 - Installing the CMake Tools Extension
- 02:40 - Demo - Building C++ code with CMake
- 03:10 - Step 1 - Create a CMakeLists.txt file
- 03:25 - Demo
- 05:21 - Step 2 - CMake Presets file
- 06:26 - Demo
- 07:45 - Step 3 - Select a build target
- 07:58 - Demo
- 09:29 - Thank you!
Recommended resources
Have feedback? Submit an issue here.