Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
parse_cmake_options.py File Reference

Go to the source code of this file.

Namespaces

namespace  parse_cmake_options
 

Variables

tuple parse_cmake_options.p argparse.ArgumentParser(description=__doc__)
 
 parse_cmake_options.type int,
 
int parse_cmake_options.default 40
 
string parse_cmake_options.help "Width of second column generated from cmake doc strings"
 
string parse_cmake_options.action "store_true"
 
tuple parse_cmake_options.args p.parse_args()
 
tuple parse_cmake_options.cmakefile Path(args.cmakefile)
 
dictionary parse_cmake_options.opts {}
 
list parse_cmake_options.rows []
 
tuple parse_cmake_options.lookup m.group(1)
 
string parse_cmake_options.doc "<br>"
 
string parse_cmake_options.output ""
 
tuple parse_cmake_options.headers ("Option", "Description")
 
list parse_cmake_options.column_lengths [0]
 
tuple parse_cmake_options.source args.write.read_text()
 
tuple parse_cmake_options.begin source.index("<!-- CMAKE_OPTS_BEGIN -->")
 
tuple parse_cmake_options.end source.index("<!-- CMAKE_OPTS_END -->")
 
string parse_cmake_options.actual "\n"
 
string parse_cmake_options.fromfile "actual"
 
string parse_cmake_options.tofile "output"
 
list parse_cmake_options.out source[: begin + 1]