include_regular_expression.rst 593 B

12345678910111213141516
  1. include_regular_expression
  2. --------------------------
  3. Set the regular expression used for dependency checking.
  4. .. code-block:: cmake
  5. include_regular_expression(regex_match [regex_complain])
  6. Sets the regular expressions used in dependency checking. Only files
  7. matching ``regex_match`` will be traced as dependencies. Only files
  8. matching ``regex_complain`` will generate warnings if they cannot be found
  9. (standard header paths are not searched).
  10. The default for ``regex_match`` is ``"^.*$"`` (match everything).
  11. The default for ``regex_complain`` is ``"^$"`` (match empty string only).