Re: Make autoconf and automake generate compile_commands.json for integration with other build systems and IDEs

2018-07-28 Thread Doron Behar
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

Re: Make autoconf and automake generate compile_commands.json for integration with other build systems and IDEs

2018-07-28 Thread Ilya Basin
https://gist.github.com/basinilya/9320b806efacece314c2ad16524993c1 сб, 28 июл. 2018 г., 15:27 Doron Behar : > 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 shoul

Re: Make autoconf and automake generate compile_commands.json for integration with other build systems and IDEs

2018-07-28 Thread immanuel litzroth
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 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

Re: Make autoconf and automake generate compile_commands.json for integration with other build systems and IDEs

2018-07-28 Thread Doron Behar
I'm aware of that. Plus, the author of `Bear` is the same author of `scan-build`. I've had a discussion with him about the duplicity of those two tools which seem to be doing the same thing. I just think that such a tool should be an official part of `make`. I've sent an mail to the Make mailing l