bazel-compile-commands-extractor
                                
                                 bazel-compile-commands-extractor copied to clipboard
                                
                                    bazel-compile-commands-extractor copied to clipboard
                            
                            
                            
                        Provide more options for filtering targets
Currently there doesn't seem to be a good way to filter out some targets from the compile command generation. In one of our cases we build the same cpp file in N different targets, which all have different include paths, but we only do this in our release archives, and during local development there's a natural default target that has the "correct" arguments (as this is hidden behind macros). In this case it would be nice if I could affect the aquery a bit in order to filter out targets based on something, either names, or tags, or something similar. That way this tool would pick the right one always, currently it can pick the wrong one and then include paths are invalid for most developer workflows.