Not sure why people hate on CMake, it's one of the most configurable build tools out there. I guess it's impatience and the culture of complaining at the first sight of a slightest obstacle in a process of learning.
when you write php it just works, like javascript, python. But in c++ it's not enough there is hidden obstacle. people dont hate cmake, they hate another hidden requirement.
What ends up happening is that people explain the easy stuff with very simple clear language and they really break it down. But with the advanced stuff they prefer to believe you already know everything. I've been able to use Make to make compilation easier but CMake is really complex. It looks like it's got it's own language. A basic tutorial might include using CMake to write hello world then have it compile a very basic C hello world project with minimal Cmake files
Yes, CMake is complex. I personally favor using a generator to get the project started and did a talk about this in spring: ruclips.net/video/3KlLGNo5bn0/видео.html
It would greatly help if the links from the presentation are added to the description.
Starts at 6:25
Slides location? Would like to try out his solution.
Seems this speaker didn't share their slides with Meeting C++ yet.
@@MeetingCPP I guess still no slides?
Slides are now available: meetingcpp.com/mcpp/slides/2023/How%20to%20start%20modern%20C++%20project994159.pdf
Thank you, even the URLs work in the pdf. :)@@MeetingCPP
Not sure why people hate on CMake, it's one of the most configurable build tools out there. I guess it's impatience and the culture of complaining at the first sight of a slightest obstacle in a process of learning.
when you write php it just works, like javascript, python. But in c++ it's not enough there is hidden obstacle. people dont hate cmake, they hate another hidden requirement.
What ends up happening is that people explain the easy stuff with very simple clear language and they really break it down. But with the advanced stuff they prefer to believe you already know everything. I've been able to use Make to make compilation easier but CMake is really complex. It looks like it's got it's own language. A basic tutorial might include using CMake to write hello world then have it compile a very basic C hello world project with minimal Cmake files
Yes, CMake is complex. I personally favor using a generator to get the project started and did a talk about this in spring: ruclips.net/video/3KlLGNo5bn0/видео.html
38:05 this is no longer required as there's Nixpkgs
One thing I wish cmake presets did is moved from json configs to Dhall configs.
Dhall looks interesting but I just checked and there is no c++ support mentioned on their website. Or have I missed something?
I'm doing fine with CMake, MSVC and vcpkg.
Btw: I really like CMake Presets.
Nice video.
Tldr: cargo new
🤣
We have cmake-init in the C++ world.
@@nono1271oh yeah cmake-init works fine
the @dog4ik barked !
cargo cultist detected