def getConfigureCommand(target): command = "./configure " + defines.surround( defines.autoToolsPrefix[0]) + " " + defines.surround( defines.autoToolsCompilers[0]) + " " + defines.surround( defines.autoToolsFlags[0]) for dependency in target.dependsOn: command += " --with-" + dependency + "=" + defines.surround( defines.mdPrefix[0]) return command
def __str__(self): if self.importMode: modeStr = "Import" elif self.cleanMode: modeStr = "Clean" else: modeStr = "Build" return "Options:\n\ Mode: " + modeStr + "\n\ Project File: " + self.projectFile + "\n\ Build Dir: " + self.buildDir + "\n\ Download Dir: " + self.downloadDir + "\n\ Log Dir: " + self.logDir + "\n\ Clean MixDown: " + str(self.cleanMixDown) + "\n\ Restart build: " + str(self.restart) + "\n\ Verbose: " + str(self.verbose) + "\n\ Logger: " + self.logger.capitalize() + "\n\ Thread Count: " + str(self.threadCount) + "\n\ Job Count: " + self.defines[defines.surround(defines.mdJobSlots[0])] + "\n\ Skip Steps: " + self.skipSteps + "\n\ Override File: " + self.overrideFile + "\n\ Override Group Names: " + ", ".join(self.overrideGroupNames) + "\n"
def __str__(self): if self.importMode: modeStr = "Import" elif self.cleanMode: modeStr = "Clean" else: modeStr = "Build" return "Options:\n\ Mode: " + modeStr + "\n\ Project File: " + self.projectFile + "\n\ Build Dir: " + self.buildDir + "\n\ Download Dir: " + self.downloadDir + "\n\ Log Dir: " + self.logDir + "\n\ Clean MixDown: " + str(self.cleanMixDown) + "\n\ Restart build: " + str(self.restart) + "\n\ Verbose: " + str(self.verbose) + "\n\ Logger: " + self.logger.capitalize() + "\n\ Thread Count: " + str(self.threadCount) + "\n\ Job Count: " + self.defines[defines.surround( defines.mdJobSlots[0])] + "\n\ Skip Steps: " + self.skipSteps + "\n\ Override File: " + self.overrideFile + "\n\ Override Group Names: " + ", ".join(self.overrideGroupNames) + "\n"
def getCleanCommand(): return "make " + defines.surround(defines.makeJobSlots[0]) + " clean"
def getInstallCommand(): return "make " + defines.surround(defines.makeJobSlots[0]) + " install"
def getBuildCommand(): return "make " + defines.surround(defines.makeJobSlots[0])
def getConfigureCommand(): if not isCmakeInstalled(): raise exceptions.ToolNotInstalledException("CMake") return "cmake " + defines.surround(defines.cmakePrefix[0]) + " " + defines.surround(defines.cmakeCompilers[0]) + " " + defines.surround(defines.cmakeFlags[0])
def getConfigureCommand(target): command = "./configure " + defines.surround(defines.autoToolsPrefix[0]) + " " + defines.surround(defines.autoToolsCompilers[0]) + " " + defines.surround(defines.autoToolsFlags[0]) for dependency in target.dependsOn: command += " --with-" + dependency + "=" + defines.surround(defines.mdPrefix[0]) return command