How do you propose to generate the compilation database without compiling? I would really like that for the Linux kernel.
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.
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.