check_include_dependencies checks for dependency loops in the include files. The include files to be processed are located by processing each path specified and matching against the specified match pattern.
Dependents are located by searching each include file for a #include
or #import statement. System include files (enclosed in <...>) are ignored.
check_include_dependencies {
path '<path>';
# note that the match expression is a full regular expression
# and not a basic regular expression.
match <pattern>;
}
check_include_dependencies {
path 'include';
path '.';
match '\.h$';
}