Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
9314e326
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,发现更多精彩内容 >>
提交
9314e326
编写于
8月 14, 2012
作者:
A
Alexander Smorkalov
提交者:
Andrey Kamaev
8月 21, 2012
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Debug build for Android added. Stripping of debug build turned off.
上级
7eb9fa14
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
10 addition
and
5 deletion
+10
-5
cmake/OpenCVDetectAndroidSDK.cmake
cmake/OpenCVDetectAndroidSDK.cmake
+3
-2
modules/androidcamera/camera_wrapper/CMakeLists.txt
modules/androidcamera/camera_wrapper/CMakeLists.txt
+3
-2
modules/java/CMakeLists.txt
modules/java/CMakeLists.txt
+4
-1
未找到文件。
cmake/OpenCVDetectAndroidSDK.cmake
浏览文件 @
9314e326
...
...
@@ -219,7 +219,6 @@ macro(add_android_project target path)
# get project sources
file
(
GLOB_RECURSE android_proj_files RELATIVE
"
${
path
}
"
"
${
path
}
/res/*"
"
${
path
}
/src/*"
)
ocv_list_filterout
(
android_proj_files
"
\\\\
.svn"
)
# copy sources out from the build tree
set
(
android_proj_file_deps
""
)
...
...
@@ -277,9 +276,11 @@ macro(add_android_project target path)
)
get_target_property
(
android_proj_jni_location
"
${
JNI_LIB_NAME
}
"
LOCATION
)
if
(
NOT
(
CMAKE_BUILD_TYPE MATCHES
"debug"
))
add_custom_command
(
TARGET
${
JNI_LIB_NAME
}
POST_BUILD COMMAND
${
CMAKE_STRIP
}
--strip-unneeded
"
${
android_proj_jni_location
}
"
)
endif
()
endif
()
endif
()
# build java part
if
(
android_proj_IGNORE_JAVA
)
...
...
modules/androidcamera/camera_wrapper/CMakeLists.txt
浏览文件 @
9314e326
...
...
@@ -57,8 +57,9 @@ SET_TARGET_PROPERTIES(${the_target} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY
${
EXECUTABLE_OUTPUT_PATH
}
)
# force strip library after the build command
ADD_CUSTOM_COMMAND
(
TARGET
${
the_target
}
POST_BUILD COMMAND
${
CMAKE_STRIP
}
"
${
LIBRARY_OUTPUT_PATH
}
/lib
${
the_target
}
.so"
)
if
(
NOT
(
CMAKE_BUILD_TYPE MATCHES
"debug"
))
ADD_CUSTOM_COMMAND
(
TARGET
${
the_target
}
POST_BUILD COMMAND
${
CMAKE_STRIP
}
"
${
LIBRARY_OUTPUT_PATH
}
/lib
${
the_target
}
.so"
)
endif
()
install
(
TARGETS
${
the_target
}
LIBRARY DESTINATION
${
OPENCV_LIB_INSTALL_PATH
}
COMPONENT main
)
modules/java/CMakeLists.txt
浏览文件 @
9314e326
...
...
@@ -181,7 +181,10 @@ if(ANDROID)
# force strip library after the build command
# because samples and tests will make a copy of the library before install
get_target_property
(
__opencv_java_location
${
the_module
}
LOCATION
)
# Turn off stripping in debug build
if
(
NOT
(
CMAKE_BUILD_TYPE MATCHES
"debug"
))
add_custom_command
(
TARGET
${
the_module
}
POST_BUILD COMMAND
${
CMAKE_STRIP
}
--strip-unneeded
"
${
__opencv_java_location
}
"
)
endif
()
set
(
lib_proj_files
""
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录