logoalt Hacker News

suprjami • 10/11/2024 • 1 reply • view on HN

How do you propose to generate the compilation database without compiling? I would really like that for the Linux kernel.


Replies

xxpor • 10/12/2024

You really need build system support. For example, Ninja can generate the file without actually doing the build because it knows everything it _would_ do.