Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
7d51a4ab
O
Opencv
项目概览
Greenplum
/
Opencv
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7d51a4ab
编写于
3月 28, 2012
作者:
A
Andrey Kamaev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#1416 added option to install OpenCVConfig.cmake i arch-dependent lo
上级
24bc0db1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
36 addition
and
25 deletion
+36
-25
cmake/OpenCVFindIPP.cmake
cmake/OpenCVFindIPP.cmake
+19
-19
cmake/OpenCVGenConfig.cmake
cmake/OpenCVGenConfig.cmake
+12
-5
cmake/templates/OpenCVConfig.cmake.in
cmake/templates/OpenCVConfig.cmake.in
+5
-1
未找到文件。
cmake/OpenCVFindIPP.cmake
浏览文件 @
7d51a4ab
...
...
@@ -31,8 +31,8 @@ set(IPP_ROOT_DIR)
set
(
IPP_INCLUDE_DIRS
)
set
(
IPP_LIBRARY_DIRS
)
set
(
IPP_LIBRARIES
)
set
(
LIB_PREFIX
${
CMAKE_STATIC_LIBRARY_PREFIX
}
)
set
(
LIB_SUFFIX
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
)
set
(
IPP_
LIB_PREFIX
${
CMAKE_STATIC_LIBRARY_PREFIX
}
)
set
(
IPP_LIB_SUFFIX
${
CMAKE_STATIC_LIBRARY_SUFFIX
}
)
set
(
IPP_PREFIX
"ipp"
)
set
(
IPP_SUFFIX
"_l"
)
set
(
IPPCORE
"core"
)
# core functionality
...
...
@@ -113,17 +113,17 @@ function(set_ipp_old_libraries)
endif
()
set
(
IPP_LIBRARIES
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPVM
}${
IPP_MRGD
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPVM
}${
IPP_DISP
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCC
}${
IPP_MRGD
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCC
}${
IPP_DISP
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCV
}${
IPP_MRGD
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCV
}${
IPP_DISP
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPIP
}${
IPP_MRGD
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPIP
}${
IPP_DISP
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPSP
}${
IPP_MRGD
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPSP
}${
IPP_DISP
}${
IPP_ARCH
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCORE
}${
IPP_ARCH
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPVM
}${
IPP_MRGD
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPVM
}${
IPP_DISP
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCC
}${
IPP_MRGD
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCC
}${
IPP_DISP
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCV
}${
IPP_MRGD
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCV
}${
IPP_DISP
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPIP
}${
IPP_MRGD
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPIP
}${
IPP_DISP
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPSP
}${
IPP_MRGD
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPSP
}${
IPP_DISP
}${
IPP_ARCH
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCORE
}${
IPP_ARCH
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
PARENT_SCOPE
)
return
()
...
...
@@ -147,12 +147,12 @@ function(set_ipp_new_libraries)
set
(
IPPVM
"vm"
)
# vector math
set
(
IPP_LIBRARIES
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPVM
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCC
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCV
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPI
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPS
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCORE
}${
IPP_SUFFIX
}${
LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPVM
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCC
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCV
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPI
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPS
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
${
IPP_LIB_PREFIX
}${
IPP_PREFIX
}${
IPPCORE
}${
IPP_SUFFIX
}${
IPP_LIB_SUFFIX
}
PARENT_SCOPE
)
return
()
...
...
cmake/OpenCVGenConfig.cmake
浏览文件 @
7d51a4ab
...
...
@@ -131,17 +131,24 @@ if(UNIX)
# <prefix>/(share|lib)/cmake/<name>*/ (U)
# <prefix>/(share|lib)/<name>*/ (U)
# <prefix>/(share|lib)/<name>*/(cmake|CMake)/ (U)
math
(
EXPR SIZEOF_VOID_P_BITS
"8 *
${
CMAKE_SIZEOF_VOID_P
}
"
)
if
(
LIB_SUFFIX AND NOT SIZEOF_VOID_P_BITS EQUAL LIB_SUFFIX
)
set
(
OPENCV_CONFIG_INSTALL_PREFIX lib
${
LIB_SUFFIX
}
/cmake/opencv
)
else
()
set
(
OPENCV_CONFIG_INSTALL_PREFIX share/OpenCV
)
endif
()
if
(
INSTALL_TO_MANGLED_PATHS
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig.cmake DESTINATION
share/OpenCV
-
${
OPENCV_VERSION
}
/
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig-version.cmake DESTINATION
share/OpenCV
-
${
OPENCV_VERSION
}
/
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig.cmake DESTINATION
${
OPENCV_CONFIG_INSTALL_PREFIX
}
-
${
OPENCV_VERSION
}
/
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig-version.cmake DESTINATION
${
OPENCV_CONFIG_INSTALL_PREFIX
}
-
${
OPENCV_VERSION
}
/
)
else
()
install
(
FILES
"
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig.cmake"
DESTINATION
share/OpenCV
/
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig-version.cmake DESTINATION
share/OpenCV
/
)
install
(
FILES
"
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig.cmake"
DESTINATION
${
OPENCV_CONFIG_INSTALL_PREFIX
}
/
)
install
(
FILES
${
CMAKE_BINARY_DIR
}
/unix-install/OpenCVConfig-version.cmake DESTINATION
${
OPENCV_CONFIG_INSTALL_PREFIX
}
/
)
endif
()
endif
()
if
(
ANDROID
)
install
(
FILES
"
${
OpenCV_SOURCE_DIR
}
/android/android.toolchain.cmake"
DESTINATION
share/OpenCV
)
install
(
FILES
"
${
OpenCV_SOURCE_DIR
}
/android/android.toolchain.cmake"
DESTINATION
${
OPENCV_CONFIG_INSTALL_PREFIX
}
/
)
endif
()
# --------------------------------------------------------------------------------------------
...
...
cmake/templates/OpenCVConfig.cmake.in
浏览文件 @
7d51a4ab
...
...
@@ -53,7 +53,11 @@ set(OpenCV_USE_MANGLED_PATHS @OpenCV_USE_MANGLED_PATHS_CONFIGCMAKE@)
get_filename_component(OpenCV_CONFIG_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH)
# Get the absolute path with no ../.. relative marks, to eliminate implicit linker warnings
get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../.." REALPATH)
if(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} VERSION_LESS 2.8)
get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../.." ABSOLUTE)
else()
get_filename_component(OpenCV_INSTALL_PATH "${OpenCV_CONFIG_PATH}/../.." REALPATH)
endif()
# Presence of Android native camera wrappers
set(OpenCV_HAVE_ANDROID_CAMERA @HAVE_opencv_androidcamera@)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录