CMAKE_MATCH_COUNT.rst 301 B

12345678
  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 ``CMAKE_MATCH_<n>``
  5. variables with the match contents. The ``CMAKE_MATCH_COUNT`` variable holds
  6. the number of match expressions when these are filled.