parameters: ()
docstring: Returns the major and minor version of the current CMake
      command line tools as a tuple of (major, minor, revision)
docstring_summary: Returns the major and minor version of the current CMake
      command line tools as a tuple of (major, minor, revision)
docstring_tokens: Returns the major and minor version of the current CMake command line tools as a tuple of ( major minor revision )
function: def get_cmake_version():
      """
      Returns the major and minor version of the current CMake
      command line tools as a tuple of (major, minor, revision)
      """
      ret = check_output(["cmake", "--version"]).decode('utf-8')
      m = re.match(r'cmake\sversion\s+(\d+)\.(\d+).(\d+)', ret, flags=re.IGNORECASE)
      if m:
          return (int(m.group(1)), int(m.group(2)), int(m.group(3)))
      else:
          raise Exception("Failed to parse CMake version")
function_tokens: def get_cmake_version ( ) : ret = check_output ( [ "cmake" , "--version" ] ) . decode ( 'utf-8' ) m = re . match ( r'cmake\sversion\s+(\d+)\.(\d+).(\d+)' , ret , flags = re . IGNORECASE ) if m : return ( int ( m . group ( 1 ) ) , int ( m . group ( 2 ) ) , int ( m . group ( 3 ) ) ) else : raise Exception ( "Failed to parse CMake version" )