mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
Native cameras build script output colorized.
This commit is contained in:
parent
a703df5456
commit
9085fbe1e0
@ -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…
Reference in New Issue
Block a user