C++ in VS Code: Building your Code with CMake

C++ in VS Code: Building your Code with CMake

Visual Studio Code

2 месяца назад

14,985 Просмотров

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 leaving a comment below or reporting an issue on GitHub: https://github.com/microsoft/vscode-cmake-tools.

Chapters:
00:00 C++ Development
00:10 Check out: C++ in VS Code: A Quick Guide
00:22 What is a Build System
01:03 Examples of Build Systems
01:27 CMake
01:56 Installing the CMake Tools Extension
02:39 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 Happy Building!

Resources:
CMake Tools Extension GitHub repo - https://github.com/microsoft/vscode-cmake-tools
CMake Tools Extension Docs - https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/README.md
CMake Documentation - https://cmake.org/documentation
C++ in VS Code: A Quick Guide - https://youtu.be/qeEcV6u1kV4

Connect and subscribe:
https://youtube.com/code
https://tiktok.com/@vscode
https://twitter.com/code

Тэги:

#vscode #visual_studio_code #vs_code #CMake #cplusplus #demo
Ссылки и html тэги не поддерживаются


Комментарии: