[DEV] update command tool access

This commit is contained in:
Edouard DUPIN 2013-07-11 11:21:25 +02:00
parent 31394d3da7
commit 0954b467de
3 changed files with 5 additions and 3 deletions

View File

@ -44,7 +44,7 @@ def usage():
for mod in listOfAllModule:
print " " + mod[0] + " / " + mod[0] + "-clean / " + mod[0] + "-dump"
print " " + mod[1]
print " ex: " + sys.argv[0] + " all board=Android all board=Windows all help"
print " ex: " + sys.argv[0] + " all --target=Android all -t Windows -m debug all"
exit(0)
# preparse the argument to get the verbose element for debug mode

View File

@ -279,7 +279,7 @@ class module:
cmdLineStrip=lutinTools.ListToStr([
target.strip,
file_dst])
RunCommand(cmdLineStrip)
lutinMultiprocess.RunCommand(cmdLineStrip)
# write cmd line only after to prevent errors ...
lutinMultiprocess.StoreCommand(cmdLine, file_cmd)
#debug.printElement("SharedLib", self.name, "==>", tmpList[1])

View File

@ -10,7 +10,9 @@ class Target:
self.cross = cross
self.name=name
self.endGeneratePackage = generatePackage
debug.info("create board target : "+self.name);
debug.info("=================================");
debug.info("== Target='"+self.name +"'");
debug.info("=================================");
if "clang"==typeCompilator:
self.cc=self.cross + "clang"
self.xx=self.cross + "clang++"