2011-04-06 16:31:03 +02:00
|
|
|
########################
|
|
|
|
# Initial cache settings for opencv on android
|
|
|
|
# run cmake with:
|
|
|
|
# cmake -C
|
|
|
|
########################
|
|
|
|
|
|
|
|
#Build shared libraries (.dll/.so CACHE BOOL "" ) instead of static ones (.lib/.a CACHE BOOL "" )
|
|
|
|
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Build 3rd party libraries
|
|
|
|
set(OPENCV_BUILD_3RDPARTY_LIBS ON CACHE BOOL "" )
|
|
|
|
|
2011-06-22 12:38:57 +02:00
|
|
|
#Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel.
|
2011-04-06 16:31:03 +02:00
|
|
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" )
|
|
|
|
|
|
|
|
#Include IEEE1394 support
|
|
|
|
set(WITH_1394 OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include NVidia Cuda Runtime support
|
|
|
|
set(WITH_CUDA OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Eigen2/Eigen3 support
|
|
|
|
set(WITH_EIGEN2 OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include FFMPEG support
|
|
|
|
set(WITH_FFMPEG OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Gstreamer support
|
|
|
|
set(WITH_GSTREAMER OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include GTK support
|
|
|
|
set(WITH_GTK OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Intel IPP support
|
|
|
|
set(WITH_IPP OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include JPEG2K support
|
|
|
|
set(WITH_JASPER ON CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include JPEG support
|
|
|
|
set(WITH_JPEG ON CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include ILM support via OpenEXR
|
|
|
|
set(WITH_OPENEXR OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include OpenNI support
|
|
|
|
set(WITH_OPENNI OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include PNG support
|
|
|
|
set(WITH_PNG ON CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Prosilica GigE support
|
|
|
|
set(WITH_PVAPI OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Build with Qt Backend support
|
|
|
|
set(WITH_QT OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Add OpenGL extension to Qt
|
|
|
|
set(WITH_QT_OPENGL OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Intel TBB support
|
|
|
|
set(WITH_TBB OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include TIFF support
|
|
|
|
set(WITH_TIFF ON CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Unicap support (GPL CACHE BOOL "" )
|
|
|
|
set(WITH_UNICAP OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Video 4 Linux support
|
|
|
|
set(WITH_V4L OFF CACHE BOOL "" )
|
|
|
|
|
|
|
|
#Include Xine support (GPL CACHE BOOL "" )
|
|
|
|
set(WITH_XINE OFF CACHE BOOL "" )
|
|
|
|
|
2011-07-12 17:59:31 +02:00
|
|
|
#no python available on Android
|
|
|
|
set(BUILD_NEW_PYTHON_SUPPORT OFF CACHE INTERNAL "" FORCE)
|
|
|
|
|
2011-04-06 16:31:03 +02:00
|
|
|
#Enable SSE instructions
|
2011-05-03 10:13:50 +02:00
|
|
|
SET( ENABLE_SSE OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 16:31:03 +02:00
|
|
|
|
|
|
|
#Enable SSE2 instructions
|
2011-05-03 10:13:50 +02:00
|
|
|
SET( ENABLE_SSE2 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 16:31:03 +02:00
|
|
|
|
|
|
|
#Enable SSE3 instructions
|
2011-05-03 10:13:50 +02:00
|
|
|
SET( ENABLE_SSE3 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 16:31:03 +02:00
|
|
|
|
|
|
|
#Enable SSE4.1 instructions
|
2011-05-03 10:13:50 +02:00
|
|
|
SET( ENABLE_SSE41 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 16:31:03 +02:00
|
|
|
|
|
|
|
#Enable SSE4.2 instructions
|
2011-05-03 10:13:50 +02:00
|
|
|
SET( ENABLE_SSE42 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 16:31:03 +02:00
|
|
|
|
|
|
|
#Enable SSSE3 instructions
|
2011-05-03 10:13:50 +02:00
|
|
|
SET( ENABLE_SSSE3 OFF CACHE INTERNAL "" FORCE )
|
2011-06-03 14:01:55 +02:00
|
|
|
|
2011-06-22 15:27:28 +02:00
|
|
|
#Set output folder to ${CMAKE_BINARY_DIR}
|
2011-06-23 17:51:51 +02:00
|
|
|
set( LIBRARY_OUTPUT_PATH_ROOT ${CMAKE_BINARY_DIR} CACHE PATH "root for library output, set this to change where android libs are compiled to" )
|