Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e7642f66
Commit
e7642f66
authored
Jul 25, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed install terget for Android examples
parent
ac7e16fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
OpenCVAndroidProject.cmake
OpenCVAndroidProject.cmake
+5
-2
CMakeLists.txt
samples/android/CMakeLists.txt
+1
-1
No files found.
OpenCVAndroidProject.cmake
View file @
e7642f66
...
@@ -132,5 +132,9 @@ macro(add_android_project _target _path)
...
@@ -132,5 +132,9 @@ macro(add_android_project _target _path)
DEPENDS
"
${
build_path
}
/bin/
${
_target
}
-debug.apk"
DEPENDS
"
${
build_path
}
/bin/
${
_target
}
-debug.apk"
DEPENDS
"
${
CMAKE_BINARY_DIR
}
/bin/
${
_target
}
.apk"
DEPENDS
"
${
CMAKE_BINARY_DIR
}
/bin/
${
_target
}
.apk"
)
)
if
(
"
${
ARGN
}
"
STREQUAL
"INSTALL"
AND INSTALL_ANDROID_EXAMPLES
)
install
(
FILES
"
${
CMAKE_BINARY_DIR
}
/bin/
${
_target
}
.apk"
DESTINATION
"bin"
COMPONENT main
)
endif
()
endif
()
endif
()
endmacro
()
endmacro
()
\ No newline at end of file
samples/android/CMakeLists.txt
View file @
e7642f66
...
@@ -31,7 +31,7 @@ if (BUILD_ANDROID_EXAMPLES)
...
@@ -31,7 +31,7 @@ if (BUILD_ANDROID_EXAMPLES)
foreach
(
sample
${
android_samples
}
)
foreach
(
sample
${
android_samples
}
)
if
(
EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
sample
}
/AndroidManifest.xml"
)
if
(
EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
sample
}
/AndroidManifest.xml"
)
add_android_project
(
"
${
sample
}
"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
sample
}
"
)
add_android_project
(
"
${
sample
}
"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
sample
}
"
INSTALL
)
endif
()
endif
()
endforeach
()
endforeach
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment