rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.76k stars 312 forks source link

input from stdin or a file #456

Closed windrg closed 2 years ago

windrg commented 2 years ago

Describe the bug In Usage, I cannot find a way to input from STDIN or a file - ie build.log

To Reproduce Steps to reproduce the behavior:

Expected behavior Other tools provides a way to do this. But Bear doesn’t seem to have.

Environment:

rizsotto commented 2 years ago

Bear does not process build logs, therefore it won't be a thing.

Bear runs the build and intercepts the process executions. The program intercept is which generates the event log file about the intercepted process execution. And citnames is another tool, which reads this event log file and creates the compilation database.