Preferences

> If you think your project will have more than half a dozen developers

https://github.com/llvm/llvm-project/blob/main/llvm/CMakeLis...

How many active contributors does LLVM have? Hmmm

https://github.com/pytorch/pytorch/blob/main/CMakeLists.txt

How many active contributors does PyTorch have? Hmmm

https://github.com/boostorg/boost/blob/master/CMakeLists.txt

How many active contributors does boost have? Hmmm

I could go on...


I never used bazel so I can't comment on it. But your argument is invalid. Just because some large scale codebases use cmake doesn't mean it's the better choice. It just means cmake is workable at these scales. But many things that are workable are very far from good
Technically CMake is still not official way to build Boost libraries. A link to latest docs: https://www.boost.org/doc/libs/1_88_0/more/getting_started/u...

While it might look like technicality the number of projects that kept their own build systems is substantial. I would say there are dozens open and many more not so open build systems out there that support large projects and organizations. I don't see anyone rushing to "rewrite it in CMake" anytime soon. At least in gamedev where I work.

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal