oranges_create_cpplint_target

include (OrangesCpplint)

View the full docs for this module.

oranges_create_cpplint_target ([IGNORE <checks...>]
                               [VERBOSITY <level>]
                               [EXTRA_ARGS <args...>])

Creates a custom target named cpplint that executes cpplint over the entire source tree.

If the CPPLINT_OFF variable is set to ON, this function does nothing.

Note that all arguments are optional. Options:

IGNORE

A list of cpplint checks to ignore. Each one may optionally begin with a ‘-’ character, though this is not required. If not specified, the value of the CPPLINT_IGNORE variable will be used.

VERBOSITY

An integer verbosity level between 0 and 5 (inclusive). If not specified, the value of the CPPLINT_VERBOSITY variable will be used.

EXTRA_ARGS

Extra arguments to pass to cpplint verbatim. If not specified, the value of the CPPLINT_EXTRA_ARGS variable will be used.