BEAR(1) | BEAR(1) |
Bear - Build EAR
bear [options] -- [build command]
Bear is a tool to generate compilation database for clang tooling.
The JSON compilation database <http://clang.llvm.org/docs/JSONCompilationDatabase.html> is used in Clang project to provide information how a single compilation unit was processed. When that is available then it is easy to re-run the compilation with different programs.
Bear executes the original build command and intercept the command executions issued by the build tool. From the log of command executions it tries to identify the compiler calls and creates the final compilation database.
The JSON compilation database definition changed over time. The current version of Bear generates entries where:
Read citnames man page for the content of this file. bear is not reading the content of this file, but passing the file name to citnames.
The exit status of the program is the exit status of the build command. Except when the program itself crashes, then it sets to non zero.
Copyright (C) 2012-2021 by László Nagy <https://github.com/rizsotto/Bear>
László Nagy.
May 10, 2019 | Bear User Manuals |