+ for arch in ["IA32", "X64"]:
+ for msaFile in XmlList(db, "/PackageSurfaceArea/MsaFiles/Filename"):
+ msaFileName = XmlElementData(msaFile)
+ doLib(msaFileName, arch)
+
+ # Copy the Include tree for the Package
+ packageDir = os.path.dirname(spdFile)
+ mkdir(packageDir)
+ if not os.path.exists(os.path.join(packageDir, "Include")):
+ print "Exporting the include dir..."
+ os.system("svn export %s %s" %
+ (inWorkspace(os.path.join(packageDir, "Include")),
+ os.path.join(packageDir, "Include")))
+ else:
+ print "Error: The directory '%s' is in the way. Please move it." % os.path.join(packageDir, "Include")
+ sys.exit()