opencv配置选项

一、选项介绍

1、介绍表

BUILD_EXAMPLESONGoverns whether the C/C++ examples are built 
BUILD_JASPEROFFGoverns whether the Jasper library (libjasper) is built from source in the 3rdparty directory 
BUILD_JPEGOFFAs above, for libjpeg 
BUILD_PNGOFFAs above, for libpng 
BUILD_TBBOFFAs above, for tbb 
BUILD_TIFFOFFAs above, for libtiff 
BUILD_ZLIBOFFAs above, for zlib 
BUILD_opencv_javaOFFControls the building of the Java bindings for OpenCVBuilding the Java bindings requires OpenCV libraries be built for static linking only
BUILD_opencv_nonfreeOFFControls the building of non-free (non-open-source) elementsUsed only for building 2.4.X
BUILD_opencv_pythonONControls the building of the Python 2 bindings in OpenCV 2.4.XUsed only for building 2.4.X
BUILD_opencv_python2ONControls the building of the Python 2 bindings in OpenCV 3.1.0Not used in 2.4.X
BUILD_opencv_python3OFFControls the building of the Python 3 bindings in OpenCV 3.1.0Not used in 2.4.X
CMAKE_BUILD_TYPEReleaseSelects the type of build (release vs. development)Is generally either Release or Debug
CMAKE_INSTALL_PREFIX/usrSets the root for installation of the libraries and header files 
CUDA_ARCH_BINvariesSets the CUDA architecture(s) for which code is compiledUsually only passed for platforms with known specific cards. OpenCV includes a small program that determines the architectures of the system's installed card if you do not pass this parameter. Here, for Ubuntu desktop, the value is a list to maximize card support.
CUDA_ARCH_PTX""Builds PTX intermediate code for the specified virtual PTX architectures 
CUDA_TOOLKIT_ROOT_DIR/usr/local/cuda-8.0 (for Linux)Specifies the location of the CUDA include files and libraries 
ENABLE_NEONONEnables the use of NEON SIMD extensions for ARM chipsOnly passed for builds on ARM platforms
ENABLE_PRECOMPILED_HEADERSOFFEnables/disables support for pre-compiled headersOnly specified on some of the ARM platforms
INSTALL_C_EXAMPLESONEnables the installation of the C example files as part of make install 
INSTALL_TESTSONEnables the installation of the tests as part of make install 
OPENCV_TEST_DATA_PATH../opencv_extra/testdataPath to the testdatadirectory in the opencv_extrarepository 
WITH_1394OFFSpecifies whether to include IEEE-1394 support 
WITH_CUDAONSpecifies whether to include CUDA support 
WITH_FFMPEGONSpecifies whether to include FFMPEG support 
WITH_GSTREAMEROFFSpecifies whether to include GStreamer 1.0 support 
WITH_GSTREAMER_0_10OFFSpecifies whether to include GStreamer 0.10 support 
WITH_GTKONSpecifies whether to include GTK 2.0 supportOnly given on Linux platforms, not Microsoft Windows
WITH_OPENCLOFFSpecifies whether to include OpenCL runtime support 
WITH_OPENEXROFFSpecifies whether to include ILM support via OpenEXR 
WITH_OPENMPOFFSpecifies whether to include OpenMP runtime support 
WITH_TBBONSpecifies whether to include Intel TBB support 
WITH_VTKOFFSpecifies whether to include VTK support

二、介绍详解

1、待加


致谢

1、opencv配置选项官方介绍文档



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

worthsen

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值