summaryrefslogtreecommitdiff
path: root/share/cmake-3.2/Help/command/include_regular_expression.rst
blob: dd887df5d4e8c735c81af63c5a37bfcbad450ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include_regular_expression
--------------------------

Set the regular expression used for dependency checking.

::

  include_regular_expression(regex_match [regex_complain])

Set the regular expressions used in dependency checking.  Only files
matching regex_match will be traced as dependencies.  Only files
matching regex_complain will generate warnings if they cannot be found
(standard header paths are not searched).  The defaults are:

::

  regex_match    = "^.*$" (match everything)
  regex_complain = "^$" (match empty string only)