compdb icon indicating copy to clipboard operation
compdb copied to clipboard

The compilation database Swiss army knife

Results 12 compdb issues
Sort by recently updated
recently updated
newest added

Hi, I'm getting an error while using `compdb -p ./ list > compile_commands.json`: `File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line...

I need to use compdb in cmake. So I try this: ```cmake execute_process(COMMAND "python.exe" "-m" "compdb" "-p" "build" "list" WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} ECHO_ERROR_VARIABLE ECHO_OUTPUT_VARIABLE) ``` But it did not effect. CMake...

Hello, I am using Visual Studio Code with vscode-clangd extension, which reads a _compile_commands.json_ file and sets up the project based on that. I noticed, however, that it fails to...

I use include_directories(src) with cmake so I can include absolute paths from the src/ directory for C++ files. It compiles fine, but clangd yells at me that it can't find...

Hey Guillaume, nice tool you've wrote. I was wondering that what's your opinion to implement these compilation database manipulations? - convert all file path to relative from absolute - convert...

I'm using compdb on a somewhat large project: ~16k entries in the compilation db, most of which have dozens of flags. Because of this, generating a compilation database with header...

I work in a code base where there is a mixture of C and C++. I noticed that C headers (files that are guarded by `extern "C"`) are being treated...

# Issue Running `compdb` on the Linux kernel results in a `compile_commands.json` file that includes selftest headers and other files, even if they are not scheduled to be built in...

Three problems happen on Windows which were not a problem on Linux: - The `output` flag doesn't exist. - Commands in `compile_commands.json` don't have properly escaped backslashes, which are common...