-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Problem Statement
Bear is an excellent tool for generating this file by wrapping the build command. However, in our specific production build environment, we have a strict policy against introducing any wrappers around our core build tools (e.g., gmake) for our nightly builds. These are considered "production builds" and must remain pristine and unaltered.
Current bear Usage Limitation
While bear's wrapper functionality is powerful, it prevents us from integrating it directly into our existing build pipelines due to the aforementioned policy. This means developers currently have to manually generate compile_commands.json (if possible) or work with less precise IntelliSense, which impacts productivity.
Desired Feature: Post-Processing Mode
We are seeking a mode or functionality within bear (or a related tool/workflow) that would allow us to generate compile_commands.json by parsing an existing build log rather than acting as a real-time wrapper around the build command itself.
Question
Does bear currently offer any functionality that could achieve this "post-processing" of a build log to generate compile_commands.json? If not, would this be a feature the bear development team would consider adding or providing guidance on how to implement?
We believe this would be a valuable addition for organizations with similar build constraints.
Thank you for your time and consideration.