compiledb
compiledb copied to clipboard
Tool for generating Clang's JSON Compilation Database files for make-based build systems.
windows clang-cl and cl compilers are not recognized by cc/cpp compiler regex expressions [report.txt](https://github.com/nickdiego/compiledb/files/4007513/report.txt)
I'm trying to run `compiledb` (the Python 3 version) on a _Debian 9_ box: ``` $ compiledb make ## Building [make]... cc -I/usr/local/include -c -o xpickrgb.o xpickrgb.c cc -o xpickrgb...
I noticed different compilation database generated while using parallel build. I use the following commands to generate build_log.txt ``` make -w | tee build_log.txt compiledb < build_log.txt make -w -j8...
On parser.py lines 35 and 36: ``` # Leverage `make --print-directory` option make_enter_dir = re.compile(r"^\s*make\[\d+\]: Entering directory [`\'\"](?P.*)[`\'\"]\s*$") make_leave_dir = re.compile(r"^\s*make\[\d+\]: Leaving directory .*$") ``` I see you expect make...
when i tried to generator compile_commands.json from a makefile build log, it stopped and printed error : ```python compiledb\parser.py", line 127, in parse_build_log dir_stack.pop() IndexError: pop from empty list ```...
I have a project with many Makefiles in sub folders I want to produce a single compile_commands.json for use with clang_tidy Traversing all of the Makefiles and outputting to the...
```Makefile include ../Makefile.inc allgen : ${TLPI_LIB} # compiledb failed to expand *.c ${TLPI_LIB} : *.c ename.c.inc ${CC} -c -g ${CFLAGS} *.c ${RM} ${TLPI_LIB} ${AR} rs ${TLPI_LIB} *.o ename.c.inc : sh...
Hi, I tried to build a using a cross compilation toolchain using make and used compiledb to generate compilation database, but it kind of hung after the compilation was done...
Hi Nick, Is there any indication which version of AOSP the compiledb-aosp.sh script work? There seems to be too many issues which breaks the script on AOSP Android 8.0.0.