CMake: How to Build and Package C/C++ Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.พ. 2022
  • In this workshop we will learn about CMake, a build generation tool used to build cross platform C/C++ projects. If you are struggling to start your own C/C++ journey, and don’t know how to structure a C/C++ project, then this workshop is for you!
    Slides: docs.google.com/presentation/...
    Source code: github.com/Yousif-CS/concurrency
    CppCon 2017 Mathieu Ropert Using Modern CMake Patterns to Enforce a Good Modular Design: • CppCon 2017: Mathieu R...

ความคิดเห็น • 36

  • @charfractal9441
    @charfractal9441 10 หลายเดือนก่อน +10

    THIS IS THE BEST TUTORIAL ON CMAKE OUT THERE, COMPLETE PROJECT MAKING BASICS RIGHT FROM SCRATCH , THIS HELPED ME SO MUCH MNA , LOVED THIS VIDEO !!

  • @souravsarkar488
    @souravsarkar488 8 หลายเดือนก่อน +3

    Excellent workshop. I went through a few other CMake tutorial, none of them gave a clear picture. But you tutorial is awesome and very easy to follow.

  • @Nikage23
    @Nikage23 8 หลายเดือนก่อน +3

    Thanks, can't stress it enough on how helpful this tutorial is for me. Cheers!

  • @yugiduels
    @yugiduels ปีที่แล้ว +5

    So helpful, thanks for explaining what cmake projects commonly look like with build, src and examples.

  • @vil9386
    @vil9386 6 หลายเดือนก่อน

    Nice workshop. Really helped to grasp the cmake concepts well. Thank you!

  • @ludant
    @ludant ปีที่แล้ว +1

    This is so helpful! Thank you really much!

  • @opethforlife
    @opethforlife ปีที่แล้ว

    An absolute chad. Thank for the help mate, I wish for more tutorials from Mr.Yousif Khalid.

  • @mohamedhussien4013
    @mohamedhussien4013 ปีที่แล้ว

    Useful tutorial !!!
    Thanks for sharing.

  • @keepgoing335
    @keepgoing335 ปีที่แล้ว

    great teaching approach with the concurrency project. i like it

  • @mhouney
    @mhouney 4 หลายเดือนก่อน

    Thanks for this very understanding tutorial!

  • @xinegopombo4713
    @xinegopombo4713 4 หลายเดือนก่อน

    Best cmake tutorial so far !! Thanks man !

  • @tariqislam9388
    @tariqislam9388 6 หลายเดือนก่อน

    Thank you bro!! Excellent explanation.

  • @AmitSinghTomarAndroidDeveloper
    @AmitSinghTomarAndroidDeveloper ปีที่แล้ว

    very nice content... happy to watch this video.. now I am learning cmake and c++ project

  • @sanderr4984
    @sanderr4984 7 หลายเดือนก่อน

    Thanks, that was good.

  • @PalasBrown
    @PalasBrown 7 หลายเดือนก่อน

    thanks for answer my question!

  • @samk399
    @samk399 3 หลายเดือนก่อน

    Hi, I enjoyed your tutorial. By the way, I realized that you made a typo that most likely resulted in the error: You typed CMAKE.../INCLUDDIR instead of CMAKE.../INCLUDEDIR. You omitted the E in the INCLUDEDIR. I hope this helps.

  • @jawadtalebi3660
    @jawadtalebi3660 7 หลายเดือนก่อน

    Helpful. Thanks!

  • @user-us7gl5kz8y
    @user-us7gl5kz8y 2 หลายเดือนก่อน

    AWSM!!!!!!

  • @neoneo1503
    @neoneo1503 ปีที่แล้ว

    So helpful! 34:34

  • @renukasrivastava1167
    @renukasrivastava1167 11 หลายเดือนก่อน

    Hi , Why did #include iostream didn’t gave error

  • @mohammedsalih8283
    @mohammedsalih8283 ปีที่แล้ว

    So helptful, could you please provide a working link to the code repository.
    Thanks

    • @CSESocUNSW
      @CSESocUNSW  ปีที่แล้ว +2

      The link is now available again: github.com/Yousif-CS/concurrency

    • @mohammedsalih8283
      @mohammedsalih8283 ปีที่แล้ว

      Thank you very much!

  • @josephzhou5507
    @josephzhou5507 ปีที่แล้ว +2

    Hi Yousif, can I have access to the concurrency directory?

    • @CSESocUNSW
      @CSESocUNSW  ปีที่แล้ว +1

      Hi, it has been made available again here: github.com/Yousif-CS/concurrency

  • @abiiranathan
    @abiiranathan 11 หลายเดือนก่อน

    This is pretty helpful. But for some reason, target_add_directories() can't link headers right. When installed, I get undefined symbols unless I explicitly pass the headers to add_executable manually 😢

  • @purduetom90
    @purduetom90 ปีที่แล้ว

    Why did this start while waiting for something meaningful?

  • @KaranKumar-rr4ko
    @KaranKumar-rr4ko ปีที่แล้ว

    not java script you had better to say nodejs 4:35

  • @drflower
    @drflower ปีที่แล้ว +6

    An hour for how to build a project. Ummm Uhhh Ummm Uhhh

    • @trannusaran6164
      @trannusaran6164 11 หลายเดือนก่อน +1

      no wonder rust got so goddamn popular (also thank you Yousef for making sense of this madness!)

    • @alexferreira4401
      @alexferreira4401 10 หลายเดือนก่อน +1

      @@trannusaran6164 easier, just like javascript got popular.. Just don't fall to the illusion that easier = better, better things are often harder

    • @indrajitg
      @indrajitg 7 หลายเดือนก่อน +1

      An hour was for explaining it. In reality, it would just take a few minutes if you do it from scratch and a few seconds if you use the right kind of tools (such as VS Code's C++ and CMake extensions).

    • @prateekshukla346
      @prateekshukla346 4 หลายเดือนก่อน

      Yep...dockin hell...

  • @JustABigFan2010
    @JustABigFan2010 5 หลายเดือนก่อน

    So much hate.🤮🤮🤮