mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
e71ff78f7f
CMake: Building Dynamic Framework on iOS (#8009) * Updated python script with dynamic parameter Updated python script to build static library by default Updated python script to include bitcode flag Added bitcode flag to c flags Fixed directories and targets with static Bitcode parameter fixed Fixed script for static library Fixed parameters in build function Updated cmake common toolchain Added changes to OpenCV Utils Updates to cmake Added cache internal Updates to common toolchain Fixed path in framework destination and added UIKit dependency Dynamic plist for framework Lib version removed hardcoded value Removed trailing whitespace in toolchain * Removed trailing whitespace * Fixed typo in comment * Renamed bitcode variable to bitcodedisabled * Fixed target device family |
||
---|---|---|
.. | ||
cmake | ||
build_framework.py | ||
Info.Dynamic.plist.in | ||
Info.plist.in | ||
readme.txt |
Building OpenCV from Source, using CMake and Command Line ========================================================= cd ~/<my_working_directory> python opencv/platforms/ios/build_framework.py ios If everything's fine, a few minutes later you will get ~/<my_working_directory>/ios/opencv2.framework. You can add this framework to your Xcode projects.