CMAKE_MATCH_COUNT.rst 309 B

123456789
  1. CMAKE_MATCH_COUNT
  2. -----------------
  3. The number of matches with the last regular expression.
  4. When a regular expression match is used, CMake fills in
  5. :variable:`CMAKE_MATCH_<n>` variables with the match contents.
  6. The ``CMAKE_MATCH_COUNT`` variable holds the number of match
  7. expressions when these are filled.