OrangesStaticAnalysis¶
Search for all static analysis integration tools and enable the ones that are available.
This module provides the following commands:
- oranges_enable_static_analysis¶
oranges_enable_static_analysis (<target>)
This command searches for the following programs:
and enables build-time integrations for any of the tools that are found. No errors are emitted for unfound tools.
- oranges_create_lint_target¶
oranges_create_lint_target()
This command searches for the same set of static analysis tools as
oranges_enable_static_analysis()
, and creates a custom target
named lint
that executes all the static analysis tools available.
See also
- Module
OrangesClangTidy
Module for clang-tidy
- Module
OrangesCppcheck
Module for cppcheck
- Module
OrangesCpplint
Module for cpplint
- Module
OrangesIWYU
Module for include-what-you-use