include_regular_expression

設定用於依賴性檢查的正規表達式。

include_regular_expression(regex_match [regex_complain])

設定用於依賴性檢查的正規表達式。只有符合 regex_match 的檔案會被追蹤為依賴項。只有符合 regex_complain 的檔案,如果找不到(不會搜尋標準標頭路徑)將會產生警告。預設值為:

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