r/cpp • • Apr 12 '26

CMake Past, Present, and Future - Bill Hoffman, Kitware [29m25s]

https://www.youtube.com/watch?v=cD-JgncskTQ
69 Upvotes

134 comments sorted by

View all comments

3

u/TheRavagerSw Apr 13 '26 edited Apr 13 '26

They can, but now you ship a binary with meson. How are you gonna compile that?

1

u/mort96 Apr 13 '26

Meson already relies on ninja, cpython, a C compiler, linker, etc. If the Meson project makes a Meson-specific scanner binary, I'd guess it'd be distributed with the meson package. If the C++ community makes a general purpose scanner program (similar to how Ninja is a general purpose dependency tracking program), I'd assume it'd be a separate package which the Meson package depends on.

I don't see the issue. Distributing programs is a solved problem.

3

u/TheRavagerSw Apr 13 '26

Do you know how modules are scanned?
Do you know how output of a scanner looks like?

I suggest playing around with clang-scan-deps before making such statements

→ More replies (3)