parameters: ( filename )
return_statement: return version
docstring: Obtain version from CMakeLists.txt
docstring_summary: Obtain version from CMakeLists.txt
docstring_tokens: Obtain version from CMakeLists . txt
function: def versionFrom( filename ):
      """Obtain version from CMakeLists.txt"""
      with open( filename, 'r' ) as f:
          content = f.read()
          version = re.search(r'VERSION\s(\d+\.\d+\.\d+)', content).group(1)
      return version
function_tokens: def versionFrom ( filename ) : with open ( filename , 'r' ) as f : content = f . read ( ) version = re . search ( r'VERSION\s(\d+\.\d+\.\d+)' , content ) . group ( 1 ) return version