Native cameras build script output colorized.

pull/35/merge
Alexander Smorkalov 13 years ago
parent a703df5456
commit 9085fbe1e0
  1. 6
      android/scripts/cmake_android_all_cameras.py

@ -49,10 +49,10 @@ for s in ConfFile.readlines():
if (os.path.exists(CameraLib)):
try:
shutil.copyfile(CameraLib, os.path.join("..", "3rdparty", "lib", Arch, "lib" + MakeTarget + ".so"))
print("Building %s for %s\t[OK]" % (MakeTarget, Arch));
print("Building %s for %s\t[\033[92mOK\033[0m]" % (MakeTarget, Arch));
except:
print("Building %s for %s\t[FAILED]" % (MakeTarget, Arch));
print("Building %s for %s\t[\033[91mFAILED\033[0m]" % (MakeTarget, Arch));
else:
print("Building %s for %s\t[FAILED]" % (MakeTarget, Arch));
print("Building %s for %s\t[\033[91mFAILED\033[0m]" % (MakeTarget, Arch));
ConfFile.close()

Loading…
Cancel
Save