This is a tool that generates a compilation database from a make file: https://github.com/rizsotto/Bear i
On Sat, Jul 28, 2018 at 2:27 PM Doron Behar <doron.be...@gmail.com> wrote: > On Tue, Jul 24, 2018 at 10:47:20PM +0300, Basin Ilya wrote: > > Hi Doron. > > > > The list of source files and resulting object files isn't known until > `make` is launched. The IDE should be ready to support a constantly > updating compilation database. > > > > It is possible to create a wrapper program for GNU Make that will do the > job. It won't be part of Make, you will have to install it separately. An > IDE can be configured to run the wrapper instead of the real Make binary. > > > > The wrapper can handle the shell commands executed by Make. For > instance, it can pass these commands and other information to another > component that will update the compilation database. > > > > I have a script that stores the needed info in a binary format, but > somebody has to write at least the part that reads the binary data from the > standard input and converts it to JSON. > > I wonder how this script compares to the tool I mentioned called > `scan-build` (https://github.com/neomutt/neomutt/issues/1014). Could you > please share it with us? > >