def SetVariable(output, variable_name, value):
 output.write('set(')
 output.write(variable_name)
 output.write(' "')
 output.write(CMakeStringEscape(value))
 output.write('")\n')

def SetVariable ( output , variable_name , value ) : output . write ( 'set(' ) output . write ( variable_name ) output . write ( ' "' ) output . write ( CMakeStringEscape ( value ) ) output . write ( '")\n' )
sets a cmake variable .