def CMakeStringEscape(a):
 return a.replace('\\', '\\\\').replace(';', '\\;').replace('"', '\\"')

def CMakeStringEscape ( a ) : return a . replace ( '\\' , '\\\\' ) . replace ( ';' , '\\;' ) . replace ( '"' , '\\"' )
escapes the string a for use inside a cmake string .