Is it okay to only use CMake for my C/C++ projects?

0
11
Asked By SunnyCat123 On

I've been self-learning C and C++ for a bit now, and when it comes to compiling my projects, I've primarily used Visual Studio or CMake. I have limited knowledge about Makefile or any other build systems. Should I worry about just sticking with CMake, or would it be better to learn other options? I'm a bit new to programming, so I'm wondering if this is a dumb question.

3 Answers

Answered By CuriousDev456 On

If you haven't tried compiling with gcc or another compiler yet, I recommend giving that a shot with a simple program. It can give you a better understanding of how things work under the hood.

Answered By TechieNerd214 On

No worries at all! While I've used several other build tools in the past, I've settled on CMake because it's portable and efficient. If it works for you, that's great!

Answered By CoderGuy789 On

It's totally fine to prefer CMake! Unless a job specifically requires you to use a different build system, you can stick with what you're comfortable with. Just be aware that knowing a bit about how CMake operates is essential, so try to deepen your understanding of it.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.