Help: Document CMAKE_MATCH_<n> variables

This commit is contained in:
Brad King
2017-04-18 14:45:49 -04:00
parent 8dd9975263
commit eb08e1febb
5 changed files with 17 additions and 4 deletions
+1
View File
@@ -104,6 +104,7 @@ Possible expressions are:
``if(<variable|string> MATCHES regex)``
True if the given string or variable's value matches the given regular
expression. See :ref:`Regex Specification` for regex format.
``()`` groups are captured in :variable:`CMAKE_MATCH_<n>` variables.
``if(<variable|string> LESS <variable|string>)``
True if the given string or variable's value is a valid number and less