compiledb
compiledb copied to clipboard
Tool for generating Clang's JSON Compilation Database files for make-based build systems.
git clone [email protected]:Agorise/c-ipfs.git cd c-ipfs compiledb make it generate a compile_database.json, but it's empty bear can generate compiledb successfully
After a recent cleanup in parsing code, the hardcoded logic for ignoring some compiler flags has been completely removed. For most use cases it should be enough to pass the...
On windows using a PATH variable for includes ends up with a string with no '\' Example: In Makefile: -I$(VK_SDK_PATH)/include When make is run: -IC:\VulkanSDK\1.3.216.0/include In compile_commands.json: -IC:VulkanSDK1.3.216.0/include
Fixes nickdiego/compiledb#134
When building a compilation DB from a Makefile using compdb, objective C (.m) and objective C++ (.mm) source files are not used to try to infer header files from them.
Hi, I'm using this tool to create a JSON Compilation Database. My static analysis tool doesn't recognize assembly code in .s nor .S extensions. I'm currently removing these manually as...
Update the compiler detection regular expression to recognize C and C++ compilers in QNX tool chain (qcc and q++). CLI interface [1] of QNX compilers are extremely similar to that...
Hello, when using compiledb on my project, the generated output in incorrect. In fact, i am getting a ` "-DPROG_NAME=waffle"` isntead of `"-DPROG_NAME=\"waffle\""`. ``` [ { "directory": "/home/sigmanificient/dev/waffle", "arguments": [...
I want to generate compile_commands.json in a AOSP-like codebase with a build.sh, can I use this?
This PR adds support for Windows (mainly dealing with `\` ), and also adds `cl.exe` & `clang-cl.exe` (`.exe` extension optional). Verified on a big project of mine (thousands of files),...