Back to index

salome-med  6.5.0
Classes | Namespaces | Functions | Variables
am2cmake.py File Reference

Go to the source code of this file.

Classes

class  am2cmake.CMakeFile

Namespaces

namespace  am2cmake

Functions

def am2cmake.convertAmFile
def am2cmake.usage

Variables

tuple am2cmake.p_multiline = re.compile(r"""\\ # One backslash\s* # 0 or more space\n # One CR""", re.VERBOSE)
tuple am2cmake.p_dollar = re.compile(r"""\$\( # a $ then a ((?P<val> # open the group val[^)]* # the group contain 0 or more non ) characters) # close the group\) # a ) at the end""", re.VERBOSE)
tuple am2cmake.p_arobas = re.compile(r"""@ # a @(?P<val> # open the group val[^@]* # the group contain 0 or more non @ characters) # close the group@ # a @ at the end""", re.VERBOSE)
tuple am2cmake.p_if = re.compile(r"""^ # beginning of the string\s* # 0 or more spaceif # an if\s+ # 1 or more space(?P<val> # open the group val.+ # the group contain 1 or more non space characters) # close the group""", re.VERBOSE)
tuple am2cmake.p_else = re.compile(r"""^ # beginning of the line\s* # 0 or more spaceelse #\s* # 0 or more space""", re.VERBOSE)
tuple am2cmake.p_endif = re.compile(r"""^ # beginning of the line\s* # 0 or more spaceendif # a endif\s* # 0 or more space""", re.VERBOSE)
tuple am2cmake.p_attribution = re.compile(r"""^ # beginning of the line(?P<spaces> # open the group spaces\s* # 0 or more space) # close the group(?P<key> # open the group key\w+ # the group contain 1 or more alphanumeric characters) # close the group\s* # 0 or more space(?P<method> # open the group method\+? # 0 or 1 += # One =) # close the group(?P<value> # open the group value.* # 0 or more any characters ) # close the group""", re.VERBOSE)
list am2cmake.module = argv[1]
tuple am2cmake.the_root = getcwd()
int am2cmake.nok = 0
string am2cmake.msg = "%s file has been converted to cmake"