News for hackers. Stuff that matters.
Re:Matt Godbolt sold me on Rust by showing me C++ by runevault on Tuesday May 06, 2025 @10:52PM (#43911797)
When I've dabbled in C++ recently it has felt like using CMake fetching github repos has been the least painful thing I've tried (dabbled in vcpkg and conan a bit), since most libraries are cmake projects.

I am no expert so take it with a grain of salt, but that was how it felt for me.

Re:Matt Godbolt sold me on Rust by showing me C++ by kylereeve on Wednesday May 07, 2025 @11:17AM (#43916840)
Do you have CMake actually run `git clone`, or do you clone separately and point CMake at the `FIND_X` files?
Re:Matt Godbolt sold me on Rust by showing me C++ by runevault on Wednesday May 07, 2025 @12:48PM (#43917945)
I was using fetch content or the like, there is a package that comes after a certain version of cmake where you can tell it this is a git repo and it handles all that for you. It has been a few months since I did this so I don't remember the details fully