2011-04-06 22:31:03 +08:00
|
|
|
########################
|
|
|
|
# Initial cache settings for opencv on android
|
|
|
|
# run cmake with:
|
|
|
|
# cmake -C
|
|
|
|
########################
|
|
|
|
|
2011-06-22 18:38:57 +08:00
|
|
|
#Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel.
|
2011-04-06 22:31:03 +08:00
|
|
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" )
|
|
|
|
|
2011-07-12 23:59:31 +08:00
|
|
|
#no python available on Android
|
|
|
|
set(BUILD_NEW_PYTHON_SUPPORT OFF CACHE INTERNAL "" FORCE)
|
|
|
|
|
2011-04-06 22:31:03 +08:00
|
|
|
#Enable SSE instructions
|
2011-05-03 16:13:50 +08:00
|
|
|
SET( ENABLE_SSE OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 22:31:03 +08:00
|
|
|
|
|
|
|
#Enable SSE2 instructions
|
2011-05-03 16:13:50 +08:00
|
|
|
SET( ENABLE_SSE2 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 22:31:03 +08:00
|
|
|
|
|
|
|
#Enable SSE3 instructions
|
2011-05-03 16:13:50 +08:00
|
|
|
SET( ENABLE_SSE3 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 22:31:03 +08:00
|
|
|
|
|
|
|
#Enable SSE4.1 instructions
|
2011-05-03 16:13:50 +08:00
|
|
|
SET( ENABLE_SSE41 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 22:31:03 +08:00
|
|
|
|
|
|
|
#Enable SSE4.2 instructions
|
2011-05-03 16:13:50 +08:00
|
|
|
SET( ENABLE_SSE42 OFF CACHE INTERNAL "" FORCE )
|
2011-04-06 22:31:03 +08:00
|
|
|
|
|
|
|
#Enable SSSE3 instructions
|
2011-05-03 16:13:50 +08:00
|
|
|
SET( ENABLE_SSSE3 OFF CACHE INTERNAL "" FORCE )
|
2011-06-03 20:01:55 +08:00
|
|
|
|
2011-06-22 21:27:28 +08:00
|
|
|
#Set output folder to ${CMAKE_BINARY_DIR}
|
2011-06-23 23:51:51 +08: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" )
|