Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
And yes, I've since learned you need VERSION_LESS. Fucking stupid. It was only considering the 5 and nothing after it, silently ignoring it.
-
kiki352944y@SortOfTested man......
she came to me and said she leaves me becoz her new boyfriend has 1000000 upvotes and I only have one......
and I said go......
and she gone away......
but she never knew that my one upvote was from SortOfTested......
this is so sad liek if u agree.......
#dev #vscode #js #inspiration #code -
Root825574yWhy are you using CMake?
Like, really. Give it a hard look.
Make will give you fewer problems. -
Root825574y@junon Such as?
Make doesn’t have features that think they know what you want, or features that sometimes discard state and expected behavior, and instead drive into walls. 🤷🏻♀️ -
@Root Look up problems with recursive make. I'm a build systems nerd - CMake has a terrible scripting language, but as far as build system theory, it gets as close to "correct" as any of the others.
-
@0x5d0 Bash is not portable and writing and its performance crumbles when you have a sufficiently large codebase.
-
0x5d01204y@junon WDYM Bash is not portable? You can pretty reliably do builds in Bash on pretty much anything that can run it. By this, I mean *any* system that you'd build your stuff on. And there isn't a meaningful performance margin in between C build tools, since the majority of the time is spend running your compiler, Bash will just be a means to launch it with appropriate flags, etc., so theoretically, if you're not satisfied with Make, you can do a bit more in Bash instead.
-
@0x5d0 I beg you to convert the LLVM codebase otherwise built with cake and ninja to a bash-based monstrosity, benchmark it and prove me wrong when I tell you that the slowdowns are going to be VERY noticeable.
And no, bash is non-portable as Windows is not fully POSIX compliant. -
0x5d01204y@junon On Windows comment: doesn't it run on mingw? Am I missing something? I mean, you have a bunch of coreutils on it as well, and you don't really need a full compliance to *just run compilers with it*.
-
@0x5d0 MinGW is not available for a lot of people, and simply isn't an option a lot of the time. MSVC compilers being mandated or simply the choice of users is something you have to support, too.
-
Yeah CMake is like C++: it's a love/hate relationship for most developers.
There is no other tool that is quite as potentially useful, powerful and versatile as it is, but it still works with freaking ducttape everytime you use it and it looks ugly.
Related Rants
-
DrPenguin9!rant Some days ago I finished "Ray tracing in a weekend" (Peter Shirley) and I'm learning a lot :D In the n...
-
pps839In 15+ years of full time work as a C++ software engineer there is one tool that I always hated: CMAKE. What a...
-
Hastouki2This bonehead wants to delete your C++ code. He obviously means that to use this for out-of-source builds, but...
Fuck you, CMake.
Why does `5.10 LESS 5.4` evaluate to true?
Fuck off.
rant
cmake