this post was submitted on 15 Aug 2024
687 points (98.4% liked)

Programmer Humor

19544 readers
538 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Which will probably be never.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 29 points 2 months ago (10 children)

Life is and will always be better writing your own Makefiles. It's literally so easy. I do not get the distaste. Cmake is arcane magic. Bazel is practically written in runes. Makefile is a just a glorified build script, but where you don't have to use a bunch of if statements to avoid building everything each time.

[–] [email protected] 6 points 2 months ago (3 children)

That works until you need to support Visual Studio or Xcode. Then you either maintain their stuff manually too, or you get CMake to generate all three. I don’t love it but it solves the problem it’s meant to solve. The issue is people using it when they don’t need to.

[–] [email protected] 3 points 2 months ago (1 children)

I'm not familiar with either why can't you use Make with VS or Xcode? Can you not set them up to have whatever build bind call Make ?

[–] [email protected] 1 points 2 months ago

Tbh I’m not sure if you can. That’s proprietary IDEs for you.

[–] [email protected] 3 points 2 months ago

Xcode implies MacOS, you can use make there too, just beware that some commandline tools take different arguments on BSDs.

[–] [email protected] 1 points 2 months ago

You can build with mingw64 built with msvc and use more or less the same Makefile. As for Xcode... well, there's not really a good reason to support Mac. On principle I wouldn't even try

load more comments (6 replies)