devel/compiledb-go - The NetBSD Packages Collection

Generate Clang's JSON Compilation Database for make-based builds

Tool for generating Clang's JSON Compilation Database file for GNU
`make`-based build systems.

It's aimed mainly at non-cmake (cmake already generates compilation
database) large codebases. Inspired by projects like YCM-Generator
and Bear, but faster (mainly with large projects), since in most
cases it doesn't need a clean build (as the mentioned tools do) to
generate the compilation database file, to achieve this it uses
the make options such as -n/--dry-run and -k/--keep-going to extract
the compile commands. Also, it's more cross-compiling friendly than
YCM-generator's fake-toolchanin approach.

Build dependencies

lang/go122 pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.