Exemplo n.º 1
0
 def compileAll(self):
     # Clean
     if os.path.isdir('./Bin') and self.config.compile == 'Rebuild':
         shutil.rmtree('Bin')
         
     for platform in self.config.getPlatforms():
         # Build
         if self.config.compile != 'None':
             rc = self.compile("Release", platform.getPlatformString(), self.config.compile)
             if rc != 0:
                 return rc
         
     return 0
Exemplo n.º 2
0
 def getBinDir(self):
     for platform in self.config.getPlatforms():
         return 'Bin/'+platform.getPlatformString()+'-Release'
     return ""