Set up VS Code to Build Modern C++ Projects with CMake (Gcc, Clang, Msvc)
HTML-код
- Опубликовано: 31 июл 2024
- Set up VS Code to Build Modern C++ Projects with CMake (Gcc, Clang, Msvc)
Udemy course discounts: www.learnqt.guide/udemy-disco...
---------------------
Timestamps :
00:00 : Introduction and Requirements
02:03 : Checking the Requirements : CMake, GCC, Clang
04:10 : Checking the C++ Extensions
04:39 : Creating C++ CMake Project
06:11 : Selecting the kit (Compiler toolchain) - msvc
07:58 : Configuring the project: Generating build files-msvc
08:51 : Building the project - msvc
10:07 : Switching build variants : debug- release (msvc)
10:56 : Debugging the binary in VS Code (msvc)
12:44 : Building with gcc toolchain : selecting the kit
13:32 : Configuring the CMake GCC project : Generating build files
13:59 : Building the CMake GCC project
14:29 : Debugging the CMake GCC Project
16:06 : Building with the Clang toolchain : Selecting the kit
16:29 : Configuring the CMake Clang project : Generating build files
16:49 : Building the CMake Clang project
17:04 : Debugging the CMake Clang Project
17:29 : Retrospective
18:06 : CMake Reference
18:35 : Compiling in C++20
20:05 : Closing
---------------------
33 Qt Creator Tips and Tricks Free Booklet : bit.ly/33HCj4k
----
Join the LearnQt Facebook Group : bit.ly/39zdOdM
-----------Follow Us----------
Website - www.learnqt.guide/
Twitter - / learnqtguide
Facebook - / learnqtguide - Наука
This video is so simple to understand! I had been searching for a proper 101 video to start using CMake on VSCode and this is the one.
Underrated resource! Great content!! I love vs code for my Python and have been looking for something like this for CPP!
Just what I needed to kickstart my C/C++ + CMake learning journey. Thanks, keep it up.
Worked for M1 Mac! Thank you for the great video!
Excellent tutorial! Thank you sir.
This is perfect, thanks!
"What was drinking here" just made it the best.
LOL
great tutorial thanks!
Good stuff, thanks
my terminal doesn't have any of those commands not sure why that is even happening.
Why the fuck when I do this the build directory isn't created and I get the error no usable generator.
Thanks a lot ❤❤
thanks
Thanks Man! I was searching for this as I use Linux and it does not have VS. I also found an extension called ez c++ which automatically creates build source header and other files and folders for us.
how to debug vscode using cmake debug with command line arguments? kindly suggest
error. Bad cmake executable. please help😢. new to VS code. the build folder isn’t even being created.
I used neovim
I can't use " rm -r .\build\ " It says that " I don't have permission ", what do I do?