|
|
|
@ -149,6 +149,7 @@ OCV_OPTION(WITH_OPENCLAMDBLAS "Include AMD OpenCL BLAS library support" OFF |
|
|
|
|
# OpenCV build components |
|
|
|
|
# =================================================== |
|
|
|
|
OCV_OPTION(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" NOT (ANDROID OR IOS) ) |
|
|
|
|
OCV_OPTION(BUILD_opencv_apps "Build utility applications (used for example to train classifiers)" (NOT ANDROID) IF (NOT IOS) ) |
|
|
|
|
OCV_OPTION(BUILD_ANDROID_EXAMPLES "Build examples for Android platform" ON IF ANDROID ) |
|
|
|
|
OCV_OPTION(BUILD_DOCS "Create build rules for OpenCV Documentation" ON ) |
|
|
|
|
OCV_OPTION(BUILD_EXAMPLES "Build all examples" OFF ) |
|
|
|
@ -453,7 +454,9 @@ add_subdirectory(doc) |
|
|
|
|
add_subdirectory(data) |
|
|
|
|
|
|
|
|
|
# extra applications |
|
|
|
|
add_subdirectory(apps) |
|
|
|
|
if(BUILD_opencv_apps) |
|
|
|
|
add_subdirectory(apps) |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
# examples |
|
|
|
|
if(BUILD_EXAMPLES OR BUILD_ANDROID_EXAMPLES OR INSTALL_PYTHON_EXAMPLES) |
|
|
|
|