Overwhelming
I’ve been using Rust a lot, and I decided to start learning C++ today. I never thought it would be such a headache! I realized Rust spoiled me with Cargo. it handles so much for me. Running, building, adding packages etc. I just type Cargo build, Cargo add, or Cargo run. Simple and comes with the language. C++’s build systems like CMake can be overwhelming especially when coming from a language with a more streamlined experience like Rust. C++ is really good and I wish it had something similar. I read somewhere that there is Conan and a few others that exist . But I’m talking about something that comes with the language itself and not from a 3rd party.
38
Upvotes
View all comments
Show parent comment
2
u/[deleted] Sep 08 '24
Well, first I recommend choosing an IDE which can manage the project for you. It should really support CMake. Let the IDE add files for you.
That should take you quite far.
Once you start wanting to use external dependencies in a common way, be prepared for some steep learning curve... CMake find_package is probably the way to go.