Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
265f335d
O
Opencv
项目概览
Greenplum
/
Opencv
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
265f335d
编写于
2月 26, 2018
作者:
M
Maksim Shabunin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add install component for 3rdparty libraries licenses
上级
e283a75a
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
112 addition
and
2 deletion
+112
-2
3rdparty/cpufeatures/CMakeLists.txt
3rdparty/cpufeatures/CMakeLists.txt
+2
-0
3rdparty/include/opencl/LICENSE.txt
3rdparty/include/opencl/LICENSE.txt
+25
-0
3rdparty/ittnotify/CMakeLists.txt
3rdparty/ittnotify/CMakeLists.txt
+2
-0
3rdparty/libjasper/CMakeLists.txt
3rdparty/libjasper/CMakeLists.txt
+2
-0
3rdparty/libjpeg/CMakeLists.txt
3rdparty/libjpeg/CMakeLists.txt
+2
-0
3rdparty/libpng/CMakeLists.txt
3rdparty/libpng/CMakeLists.txt
+3
-1
3rdparty/libtiff/CMakeLists.txt
3rdparty/libtiff/CMakeLists.txt
+2
-0
3rdparty/openexr/CMakeLists.txt
3rdparty/openexr/CMakeLists.txt
+2
-0
3rdparty/protobuf/CMakeLists.txt
3rdparty/protobuf/CMakeLists.txt
+2
-0
3rdparty/tbb/CMakeLists.txt
3rdparty/tbb/CMakeLists.txt
+2
-0
3rdparty/zlib/CMakeLists.txt
3rdparty/zlib/CMakeLists.txt
+2
-0
cmake/OpenCVDetectOpenCL.cmake
cmake/OpenCVDetectOpenCL.cmake
+1
-0
cmake/OpenCVFindIPP.cmake
cmake/OpenCVFindIPP.cmake
+1
-0
cmake/OpenCVFindIPPIW.cmake
cmake/OpenCVFindIPPIW.cmake
+14
-1
cmake/OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+12
-0
modules/core/3rdparty/SoftFloat/COPYING.txt
modules/core/3rdparty/SoftFloat/COPYING.txt
+36
-0
modules/core/CMakeLists.txt
modules/core/CMakeLists.txt
+2
-0
未找到文件。
3rdparty/cpufeatures/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -31,3 +31,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
OPENCV_CPUFEATURES_TARGET_NAME
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
cpufeatures LICENSE README.md
)
3rdparty/include/opencl/LICENSE.txt
0 → 100644
浏览文件 @
265f335d
Copyright (c) 2008-2015 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Materials.
MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
https://www.khronos.org/registry/
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
3rdparty/ittnotify/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -60,3 +60,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
ITT_LIBRARY
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
ittnotify src/ittnotify/LICENSE.BSD src/ittnotify/LICENSE.GPL
)
3rdparty/libjasper/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -47,3 +47,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
JASPER_LIBRARY
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
jasper LICENSE README copyright
)
3rdparty/libjpeg/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -51,3 +51,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
JPEG_LIBRARY
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
libjpeg README
)
3rdparty/libpng/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -48,7 +48,7 @@ if(PPC64LE OR PPC64)
list
(
APPEND lib_srcs powerpc/powerpc_init.c powerpc/filter_vsx_intrinsics.c
)
add_definitions
(
-DPNG_POWERPC_VSX_OPT=2
)
else
()
add_definitions
(
-DPNG_POWERPC_VSX_OPT=0
)
add_definitions
(
-DPNG_POWERPC_VSX_OPT=0
)
endif
()
endif
()
...
...
@@ -80,3 +80,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
PNG_LIBRARY
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
libpng LICENSE README opencv-libpng.patch
)
3rdparty/libtiff/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -470,3 +470,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
TIFF_LIBRARY
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
libtiff COPYRIGHT
)
3rdparty/openexr/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -76,5 +76,7 @@ if(NOT BUILD_SHARED_LIBS)
ocv_install_target
(
IlmImf EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
openexr LICENSE AUTHORS.ilmbase AUTHORS.openexr fix_msvc2013_errors.patch
)
set
(
OPENEXR_INCLUDE_PATHS
${
OPENEXR_INCLUDE_PATHS
}
PARENT_SCOPE
)
set
(
OPENEXR_VERSION
"1.7.1"
PARENT_SCOPE
)
3rdparty/protobuf/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -150,3 +150,5 @@ set(Protobuf_VERSION ${Protobuf_VERSION} CACHE INTERNAL "" FORCE)
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
libprotobuf EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
protobuf LICENSE README.md
)
3rdparty/tbb/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -156,4 +156,6 @@ ocv_install_target(tbb EXPORT OpenCVModules
ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
ocv_install_3rdparty_licenses
(
tbb
"
${
tbb_src_dir
}
/LICENSE"
"
${
tbb_src_dir
}
/README"
)
ocv_tbb_read_version
(
"
${
tbb_src_dir
}
/include"
)
3rdparty/zlib/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -99,3 +99,5 @@ endif()
if
(
NOT BUILD_SHARED_LIBS
)
ocv_install_target
(
${
ZLIB_LIBRARY
}
EXPORT OpenCVModules ARCHIVE DESTINATION
${
OPENCV_3P_LIB_INSTALL_PATH
}
COMPONENT dev
)
endif
()
ocv_install_3rdparty_licenses
(
zlib README
)
cmake/OpenCVDetectOpenCL.cmake
浏览文件 @
265f335d
...
...
@@ -5,6 +5,7 @@ if(APPLE)
else
(
APPLE
)
set
(
OPENCL_LIBRARY
""
CACHE STRING
"OpenCL library"
)
set
(
OPENCL_INCLUDE_DIR
"
${
OpenCV_SOURCE_DIR
}
/3rdparty/include/opencl/1.2"
CACHE PATH
"OpenCL include directory"
)
ocv_install_3rdparty_licenses
(
opencl-headers
"
${
OpenCV_SOURCE_DIR
}
/3rdparty/include/opencl/LICENSE.txt"
)
endif
(
APPLE
)
mark_as_advanced
(
OPENCL_INCLUDE_DIR OPENCL_LIBRARY
)
...
...
cmake/OpenCVFindIPP.cmake
浏览文件 @
265f335d
...
...
@@ -244,6 +244,7 @@ if(NOT DEFINED IPPROOT)
if
(
NOT IPPROOT
)
return
()
endif
()
ocv_install_3rdparty_licenses
(
ippicv
"
${
IPPROOT
}
/readme.htm"
"
${
IPPROOT
}
/license/ippEULA.txt"
)
endif
()
file
(
TO_CMAKE_PATH
"
${
IPPROOT
}
"
__IPPROOT
)
...
...
cmake/OpenCVFindIPPIW.cmake
浏览文件 @
265f335d
...
...
@@ -136,6 +136,13 @@ if(BUILD_IPP_IW)
# local sources
ippiw_setup
(
"
${
OpenCV_SOURCE_DIR
}
/3rdparty/ippiw"
1
)
set
(
IPPIW_ROOT
"
${
IPPROOT
}
/../
${
IW_PACKAGE_SUBDIR
}
"
)
ocv_install_3rdparty_licenses
(
ippiw
"
${
IPPIW_ROOT
}
/EULA.txt"
"
${
IPPIW_ROOT
}
/redist.txt"
"
${
IPPIW_ROOT
}
/support.txt"
"
${
IPPIW_ROOT
}
/third-party-programs.txt"
)
# Package sources
get_filename_component
(
__PATH
"
${
IPPROOT
}
/../
${
IW_PACKAGE_SUBDIR
}
/"
ABSOLUTE
)
ippiw_setup
(
"
${
__PATH
}
"
1
)
...
...
@@ -161,9 +168,15 @@ if(NOT HAVE_IPP_ICV AND BUILD_IPP_IW)
set
(
TEMP_ROOT 0
)
include
(
"
${
OpenCV_SOURCE_DIR
}
/3rdparty/ippicv/ippicv.cmake"
)
download_ippicv
(
TEMP_ROOT
)
set
(
IPPIW_ROOT
"
${
TEMP_ROOT
}
/../
${
IW_PACKAGE_SUBDIR
}
"
)
ocv_install_3rdparty_licenses
(
ippiw
"
${
IPPIW_ROOT
}
/EULA.txt"
"
${
IPPIW_ROOT
}
/redist.txt"
"
${
IPPIW_ROOT
}
/support.txt"
"
${
IPPIW_ROOT
}
/third-party-programs.txt"
)
# Package sources. Only sources are compatible with regular Intel IPP
ippiw_setup
(
"
${
TEMP_ROOT
}
/../
${
IW_PACKAGE_SUBDIR
}
/
"
1
)
ippiw_setup
(
"
${
IPPIW_ROOT
}
"
1
)
endif
()
...
...
cmake/OpenCVUtils.cmake
浏览文件 @
265f335d
...
...
@@ -1002,6 +1002,18 @@ function(ocv_install_target)
endif
()
endfunction
()
# ocv_install_3rdparty_licenses(<library-name> <filename1> [<filename2> ..])
function
(
ocv_install_3rdparty_licenses library
)
foreach
(
filename
${
ARGN
}
)
get_filename_component
(
name
"
${
filename
}
"
NAME
)
install
(
FILES
"
${
filename
}
"
DESTINATION
"
${
OPENCV_OTHER_INSTALL_PATH
}
/licenses"
COMPONENT licenses
RENAME
"
${
library
}
-
${
name
}
"
OPTIONAL
)
endforeach
()
endfunction
()
# read set of version defines from the header file
macro
(
ocv_parse_header FILENAME FILE_VAR
)
...
...
modules/core/3rdparty/SoftFloat/COPYING.txt
0 → 100644
浏览文件 @
265f335d
License for Berkeley SoftFloat Release 3c
John R. Hauser
2017 February 10
The following applies to the whole of SoftFloat Release 3c as well as to
each source file individually.
Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017 The Regents of the
University of California. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions, and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE
DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
modules/core/CMakeLists.txt
浏览文件 @
265f335d
...
...
@@ -70,3 +70,5 @@ endif()
ocv_add_accuracy_tests
()
ocv_add_perf_tests
()
ocv_install_3rdparty_licenses
(
SoftFloat
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/3rdparty/SoftFloat/COPYING.txt"
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录