cmake/Help/command/include_regular_expression.rst

19 lines
571 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
include_regular_expression
--------------------------
Set the regular expression used for dependency checking.
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
include_regular_expression(regex_match [regex_complain])
2019-11-11 23:01:05 +01:00
Sets the regular expressions used in dependency checking. Only files
2015-11-17 17:22:37 +01:00
matching ``regex_match`` will be traced as dependencies. Only files
matching ``regex_complain`` will generate warnings if they cannot be found
2014-08-03 19:52:23 +02:00
(standard header paths are not searched). The defaults are:
::
regex_match = "^.*$" (match everything)
regex_complain = "^$" (match empty string only)