예제 #1
0
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 "**"
예제 #2
0
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