nixpkgs/pkgs/development/tools/analysis/cppcheck
Sebastián Mancilla 47f0f32de5 cppcheck: use recommended build options
From the readme:

> The recommended release build is:
>     make MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes
>
> Flags:
> MATCHCOMPILER=yes               : Python is used to optimise cppcheck at compile time
> FILESDIR=/usr/share/cppcheck    : Specify folder where cppcheck files are installed
> HAVE_RULES=yes                  : Enable rules (pcre is required if this is used)

This adds MATCHCOMPILER and fixes the location of FILESDIR into a
standard directory instead of that ugly '$out/cfg' directory.

The Makefile needs 'which' to locate Python.
2022-07-17 15:52:26 +02:00
..
default.nix cppcheck: use recommended build options 2022-07-17 15:52:26 +02:00