compiledb icon indicating copy to clipboard operation
compiledb copied to clipboard

Tool for generating Clang's JSON Compilation Database files for make-based build systems.

Results 53 compiledb issues
Sort by recently updated
recently updated
newest added

Minor modification to parser and compiler so that cuda sources with `.cu` extension can be included.

Support for converting [cuda](https://developer.nvidia.com/cuda-toolkit) from Makefile to compile_commands.json. ### Sample Makefile ```Makefile CXX=g++ all: helloworld hello helloworld: helloworld.cpp $(CXX) -o helloworld helloworld.cpp --std=c++17 -DMAKE hello: hello.cu nvcc -o hello hello.cu...

I was hoping this would be able to handle this properly, since I this is how the build system at my job works, but `compiledb` can't seem to capture the...

At the point where `entry['directory']` is used, `'directory'` is definitely not in `entry` as checked in `if` two lines above https://github.com/nickdiego/compiledb/blob/b615d526019c7b809882090ea7eaff85423f2b13/compiledb/__init__.py#L88 On the other hand, `'file'` is guaranteed to be...

![Snag_144cf5](https://user-images.githubusercontent.com/100831146/156518440-217162a3-6688-43b9-8426-d3865c138fb0.png)

![image](https://user-images.githubusercontent.com/8686739/94019434-5f368200-fde4-11ea-8797-847d6169b154.png) what happened? i am in windows10. Python 3.8.1 by the way, how to do in [nodejs](https://github.com/nodejs/node), i need compile_commands.json

The parsing logic appears to be dependent on english-language output. (e.g. "Entering directory ..."). This is not given on localized installations, therefore the parsing will fail, as files are not...

Hi, I have 2 projects - one with Makefile and other with autoconf/automake. I'm able to successfully create a database with Makefile but not with automake. It's failing to read...

Hello, I tried using `compiledb` on Windows and it looks like backslashes in include paths get deleted. Here's a `make` output: ``` make: Entering directory `C:/projects/test/build' echo 'Building file: ../test.c'...