Skip to content

meson.build: drop listing of header files from compilation targets

Peter Hutterer requested to merge whot/libinput:wip/meson-drop-headers into main

"Meson uses Ninja which uses compiler dependency information to automatically figure out dependencies between C sources and headers, so it will rebuild things correctly when a header changes. [...] If, for whatever reason, you do add non-generated headers to the sources list of a target, Meson will simply ignore them."

https://mesonbuild.com/FAQ.html#do-i-need-to-add-my-headers-to-the-sources-list-like-in-autotools

TIL thanks to @eli-schwartz on github

Merge request reports