Home | History | Annotate | Download | only in cmake

Lines Matching refs:ipp

2 # The script to detect Intel(R) Integrated Performance Primitives (IPP)
6 # To use standalone IPP update cmake command line:
14 # HAVE_IPP - True if Intel IPP found
15 # HAVE_IPP_ICV_ONLY - True if Intel IPP ICV version is available
16 # IPP_ROOT_DIR - root of IPP installation
17 # IPP_INCLUDE_DIRS - IPP include folder
18 # IPP_LIBRARIES - IPP libraries that are used by OpenCV
19 # IPP_VERSION_STR - string with the newest detected IPP version
20 # IPP_VERSION_MAJOR - numbers of IPP version (MAJOR.MINOR.BUILD)
38 message(STATUS "On 32-bit Linux IPP can not currently be used with dynamic libs because of linker errors. Set BUILD_SHARED_LIBS=OFF")
50 # This function detects IPP version by analyzing .h file
57 # read IPP version info from file
96 elseif(EXISTS ${IPP_ROOT_DIR}/include/ipp.h)
99 _ipp_not_supported("Can't resolve IPP directory: ${IPP_ROOT_DIR}")
105 message(STATUS "found IPP${__msg}: ${_MAJOR}.${_MINOR}.${_BUILD} [${IPP_VERSION_STR}]")
109 _ipp_not_supported("IPP ${IPP_VERSION_STR} is not supported")
116 _ipp_not_supported("IPP library directory not found")
130 # dynamic linking is only supported for standalone version of IPP
140 # When using dynamic libraries from standalone IPP it is your responsibility to install those on the target system
143 add_library(ipp${name} STATIC IMPORTED)
144 set_target_properties(ipp${name} PROPERTIES
148 list(APPEND IPP_LIBRARIES ipp${name})
153 set(IPP${uname}_INSTALL_PATH "${CMAKE_INSTALL_PREFIX}/${OPENCV_3P_LIB_INSTALL_PATH}/${IPP_LIB_PREFIX}${IPP_PREFIX}${name}${IPP_SUFFIX}${IPP_LIB_SUFFIX}" CACHE INTERNAL "" FORCE)
154 set(IPP${uname}_LOCATION_PATH "${IPP_LIBRARY_DIR}/${IPP_LIB_PREFIX}${IPP_PREFIX}${name}${IPP_SUFFIX}${IPP_LIB_SUFFIX}" CACHE INTERNAL "" FORCE)
157 message(STATUS "Can't find IPP library: ${name} at ${IPP_LIBRARY_DIR}/${IPP_LIB_PREFIX}${IPP_PREFIX}${name}${IPP_SUFFIX}${IPP_LIB_SUFFIX}")
161 set(IPP_PREFIX "ipp")
164 set(IPP_SUFFIX "") # dynamic not threaded libs suffix IPP 7.x
166 set(IPP_SUFFIX "_l") # static not threaded libs suffix IPP 7.x
171 set(IPP_SUFFIX "") # dynamic not threaded libs suffix IPP 8.x for Windows
173 set(IPP_SUFFIX "mt") # static not threaded libs suffix IPP 8.x for Windows
176 set(IPP_SUFFIX "") # static not threaded libs suffix IPP 8.x for Linux/OS X
197 _ipp_not_supported("IPP configuration error: can't find Intel compiler library dir ${INTEL_COMPILER_LIBRARY_DIR}")
227 #message(STATUS "IPP libs: ${IPP_LIBRARIES}")
251 # Since IPP built with Microsoft compiler and /GS option