mirror of https://github.com/opencv/opencv.git
Merge pull request #1021 from alekcac:platforms
commit
e6784ca8a0
10 changed files with 20 additions and 33 deletions
@ -1 +0,0 @@ |
||||
cmake -GXcode -DCMAKE_TOOLCHAIN_FILE=../opencv/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake -DCMAKE_INSTALL_PREFIX=../OpenCV_iPhoneOS ../opencv |
@ -1 +0,0 @@ |
||||
cmake -GXcode -DCMAKE_TOOLCHAIN_FILE=../opencv/ios/cmake/Toolchains/Toolchain-iPhoneSimulator_Xcode.cmake -DCMAKE_INSTALL_PREFIX=../OpenCV_iPhoneSimulator ../opencv |
@ -1,15 +0,0 @@ |
||||
Assuming that your build directory is on the same level that opencv source, |
||||
From the build directory run |
||||
../opencv/ios/configure-device_xcode.sh |
||||
or |
||||
../opencv/ios/configure-simulator_xcode.sh |
||||
|
||||
Then from the same folder invoke |
||||
|
||||
xcodebuild -sdk iphoneos -configuration Release -target ALL_BUILD |
||||
xcodebuild -sdk iphoneos -configuration Release -target install install |
||||
|
||||
or |
||||
|
||||
xcodebuild -sdk iphonesimulator -configuration Release -target ALL_BUILD |
||||
xcodebuild -sdk iphonesimulator -configuration Release -target install install |
@ -0,0 +1,7 @@ |
||||
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. |
Loading…
Reference in new issue