I have the following two files: make.log is build log for make; gmake.log is build log for gmake;
There is no difference except build tool( make/gmake) in the build.
But the output of parsing the two files using compiledb are different.
Please see the following operation:
There is only one entry, other one entry is missing. Missing entry correspond to main.c in subdir.
So i guess compiledb cannot parse gmake's change directory message.
And I read parser.py,i saw these following two lines code:
I have the following two files:
make.log
is build log formake
;gmake.log
is build log forgmake
; There is no difference except build tool(make
/gmake
) in the build. But the output of parsing the two files usingcompiledb
are different. Please see the following operation:It's perfect, but when it meet
gmake
, something is wrong.There is only one entry, other one entry is missing. Missing entry correspond to
main.c
insubdir
. So i guess compiledb cannot parsegmake
's change directory message.And I read parser.py,i saw these following two lines code:
Indeed these two regular expression cannot successfully match the change directory message in
gmake.log
above.Is my statement above correct? Am I missing something? If it is true, can you support this?