{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Generates Clang JSON compilation databases from GNU make-based build systems without requiring a clean rebuild, using make's dry-run mode to extract compile commands.","skillfed_tags":["c-cpp-tooling","language-server","build-integration"],"use_cases":["Set up code navigation and IDE integration for large AOSP or embedded C/C++ projects without rebuilding the entire codebase.","Generate compilation databases for Vim or Neovim with language server plugins (YouCompleteMe, LanguageClient, ALE) to enable code completion and diagnostics.","Index legacy C/C++ codebases with make-based build systems for use with static analysis tools and code browsers.","Integrate compilation database generation into CI/CD pipelines to support code quality and analysis tools without slowing down builds.","Parse existing build logs to retroactively generate compilation databases for offline analysis or tool integration."],"what_it_does":"compiledb is a command-line tool that generates Clang's JSON compilation database format for C/C++ projects built with GNU make. It wraps the make command and extracts compile commands using make's dry-run and keep-going options, avoiding the need for a full clean rebuild. The tool outputs a compile_commands.json file that can be consumed by language servers, IDE plugins, and code analysis tools like YouCompleteMe, cquery, and ccls.\n\nThe package is designed for large non-cmake codebases where existing tools like YCM-Generator or Bear were either too slow or incompatible. It supports both the standard 'arguments' list format and the 'command' string format for compilation databases, and can parse compile commands from arbitrary build logs or stdin. It runs on Python 3.3+, depends only on click and bashlex, and has been tested on Windows, Linux, and macOS.","worth_installing":"Yes, if you maintain a large make-based C/C++ project and need language server or IDE integration. The low install friction, active maintenance, no security issues, and GPL-3.0-or-later license make it a solid choice for development workflows. Not suitable for proprietary closed-source work due to copyleft licensing."},"id":"compiledb","links":{"html":"https://skillfed.io/packages/compiledb","md":"https://skillfed.io/packages/compiledb.md","pypi":"https://pypi.org/project/compiledb/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-03-23","license_spdx":null,"license_treatment":"copyleft","name":"compiledb","python_support":"supports_current","summary":"Tool for generating Clang JSON Compilation Database files for make-based build systems."},"popularity":{"monthly_downloads":201271,"position":9676,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.7"}
