check_include_compile checks to make sure the specified include files will compile without any dependencies.
check_include_compile {
path '<path>';
# note that the match expression is a full regular expression
# and not a basic regular expression.
match <pattern>;
}
check_include_compile {
compiler_flags '-Iinclude' '-I.';
path 'include';
path '.';
match '\.h$';
}
Wiki: Home
Wiki: Syntax
Wiki: SyntaxAttrCompileFlag
Wiki: SyntaxAttrPath