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
  • НаукаНаука

Комментарии • 19

  • @ishanrawat5308
    @ishanrawat5308 2 года назад +1

    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.

  • @AniketRajAniketkno
    @AniketRajAniketkno 2 года назад +6

    Underrated resource! Great content!! I love vs code for my Python and have been looking for something like this for CPP!

  • @rmachuca
    @rmachuca 9 месяцев назад

    Just what I needed to kickstart my C/C++ + CMake learning journey. Thanks, keep it up.

  • @yoyotvyoo
    @yoyotvyoo 2 года назад +1

    Worked for M1 Mac! Thank you for the great video!

  • @TheExcellentVideoChannel
    @TheExcellentVideoChannel Год назад

    Excellent tutorial! Thank you sir.

  • @lakeborne5514
    @lakeborne5514 Год назад

    This is perfect, thanks!

  • @absolutespace4
    @absolutespace4 6 месяцев назад +1

    "What was drinking here" just made it the best.

  • @eanoxd
    @eanoxd 8 месяцев назад

    great tutorial thanks!

  • @asilepolitiqueasilepolitiq6943

    Good stuff, thanks

  • @ZTwo221
    @ZTwo221 3 месяца назад

    my terminal doesn't have any of those commands not sure why that is even happening.

  • @awabkhan2977
    @awabkhan2977 Год назад +2

    Why the fuck when I do this the build directory isn't created and I get the error no usable generator.

  • @tszhong0411
    @tszhong0411 Год назад

    Thanks a lot ❤❤

  • @ertat-l7t
    @ertat-l7t 29 дней назад

    thanks

  • @osamaanees8406
    @osamaanees8406 2 года назад

    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.

  • @chidanandkumarks6114
    @chidanandkumarks6114 5 месяцев назад

    how to debug vscode using cmake debug with command line arguments? kindly suggest

  • @theicekingkobe
    @theicekingkobe Год назад

    error. Bad cmake executable. please help😢. new to VS code. the build folder isn’t even being created.

  • @yuyung6447
    @yuyung6447 2 года назад

    I used neovim

  • @punchline1729
    @punchline1729 Год назад

    I can't use " rm -r .\build\ " It says that " I don't have permission ", what do I do?