Commit 16814c7f authored by Alexander Shishkov's avatar Alexander Shishkov

Update build_framework.py

parent 5dd598fc
...@@ -75,6 +75,7 @@ def put_framework_together(srcroot, dstroot): ...@@ -75,6 +75,7 @@ def put_framework_together(srcroot, dstroot):
dstdir = "Versions/A" dstdir = "Versions/A"
os.makedirs(dstdir + "/Resources") os.makedirs(dstdir + "/Resources")
tdir0 = "../build/" + targetlist[0]
# copy headers # copy headers
shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers") shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
...@@ -83,7 +84,7 @@ def put_framework_together(srcroot, dstroot): ...@@ -83,7 +84,7 @@ def put_framework_together(srcroot, dstroot):
os.system("lipo -create " + wlist + " -o " + dstdir + "/opencv2") os.system("lipo -create " + wlist + " -o " + dstdir + "/opencv2")
# copy Info.plist # copy Info.plist
shutil.copyfile("../build/ios/Info.plist", dstdir + "/Resources/Info.plist") shutil.copyfile(tdir0 + "/ios/Info.plist", dstdir + "/Resources/Info.plist")
# make symbolic links # make symbolic links
os.symlink("A", "Versions/Current") os.symlink("A", "Versions/Current")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment