def compile(): try: compilewin.compile(exeFileA, srcFiles, includes, libs, defsA) compilewin.compile(exeFileD, srcFiles, includes, libs, defsD) except env.BuildError: print "**" print "** FAILED [" + exeFile + "]" print "**"
def compile(cdefs=defs): try: fileutil.rmdir(stageDir) compilekit.compile(platFile + " -outDir " + stageDir) #compilewin.compile(exeFile, srcFiles, includes, libs, cdefs, ["/P"]) # preproc output compilewin.compile(exeFile, srcFiles, includes, libs, cdefs) except env.BuildError: print "**" print "** FAILED [" + exeFile + "]" print "**" return 1