4 "summary": "OpenCV (Computer Vision) for iOS as a dynamic library.",
5 "description": "OpenCV: open source computer vision library\n\n Homepage: http://opencv.org\n Online docs: http://docs.opencv.org\n Q&A forum: http://answers.opencv.org\n Dev zone: http://code.opencv.org",
6 "homepage": "https://github.com/edc1591/opencv-ios",
8 "type": "3-clause BSD",
11 "authors": "opencv.org",
13 "git": "https://github.com/edc1591/opencv-ios.git",
19 "source_files": "install/include/**/*{.h,.hpp}",
20 "public_header_files": "install/include/**/*{.h,.hpp}",
21 "preserve_paths": "install",
22 "header_mappings_dir": "install/include",
23 "vendored_libraries": "install/lib/libopencv2.dylib",
26 "install/share/OpenCV/**/*.xml"
29 "requires_arc": false,
45 "prepare_command": "mkdir build-iphoneos\ncd build-iphoneos\ncmake -GXcode -DBUILD_SHARED_LIBS=ON -DCMAKE_MACOSX_BUNDLE=ON -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=NO -DAPPLE_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../platforms/ios/cmake/Toolchains/Toolchain-iPhoneOS_Xcode.cmake -DENABLE_NEON=ON ../\nxcodebuild -arch armv7 -arch armv7s -arch arm64 -sdk iphoneos -configuration Release -parallelizeTargets -jobs 4 ONLY_ACTIVE_ARCH=NO -target ALL_BUILD build OTHER_CFLAGS=\"$(inherited) -Wno-implicit-function-declaration\"\ncmake -DCMAKE_INSTALL_PREFIX=install -P cmake_install.cmake\nmkdir ../build-iphonesimulator\ncd ../build-iphonesimulator\ncmake -GXcode -DBUILD_SHARED_LIBS=ON -DCMAKE_MACOSX_BUNDLE=ON -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED=NO -DAPPLE_FRAMEWORK=ON -DCMAKE_INSTALL_PREFIX=install -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../platforms/ios/cmake/Toolchains/Toolchain-iPhoneSimulator_Xcode.cmake ../\nxcodebuild -arch x86_64 -arch i386 -sdk iphonesimulator -configuration Release -parallelizeTargets -jobs 4 ONLY_ACTIVE_ARCH=NO -target ALL_BUILD build OTHER_CFLAGS=\"$(inherited) -Wno-implicit-function-declaration\"\nmv ../build-iphoneos/install/ ../\ncd ../install\nlipo -create lib/libopencv_world.dylib ../build-iphonesimulator/lib/Release/libopencv_world.dylib -output lib/libopencv2.dylib\ninstall_name_tool -id @rpath/libopencv2.dylib lib/libopencv2.dylib"