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
46c4390a
Commit
46c4390a
authored
Jan 22, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hardly refactored CMake script for Java wrappers
parent
c92743d1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
5 deletions
+10
-5
OpenCVDetectAndroidSDK.cmake
cmake/OpenCVDetectAndroidSDK.cmake
+1
-1
CMakeLists.txt
modules/java/CMakeLists.txt
+0
-0
CMakeLists.txt
modules/java/android_test/CMakeLists.txt
+1
-1
build.xml.in
modules/java/build.xml.in
+2
-1
CMakeLists.txt
modules/java/test/CMakeLists.txt
+0
-0
build.xml
modules/java/test/build.xml
+1
-1
junit-4.11.jar
modules/java/test/lib/junit-4.11.jar
+0
-0
OpenCVTestCase.java
modules/java/test/src/org/opencv/test/OpenCVTestCase.java
+0
-0
OpenCVTestRunner.java
modules/java/test/src/org/opencv/test/OpenCVTestRunner.java
+1
-1
CMakeLists.txt
modules/python/CMakeLists.txt
+4
-0
No files found.
cmake/OpenCVDetectAndroidSDK.cmake
View file @
46c4390a
...
...
@@ -302,7 +302,7 @@ macro(add_android_project target path)
COMMAND
${
CMAKE_COMMAND
}
-E touch
"
${
android_proj_bin_dir
}
/bin/
${
target
}
-debug.apk"
# needed because ant does not update the timestamp of updated apk
WORKING_DIRECTORY
"
${
android_proj_bin_dir
}
"
MAIN_DEPENDENCY
"
${
android_proj_bin_dir
}
/
${
ANDROID_MANIFEST_FILE
}
"
DEPENDS
"
${
OpenCV_BINARY_DIR
}
/bin/
.
classes.jar.dephelper"
opencv_java
# as we are part of OpenCV we can just force this dependency
DEPENDS
"
${
OpenCV_BINARY_DIR
}
/bin/classes.jar.dephelper"
opencv_java
# as we are part of OpenCV we can just force this dependency
DEPENDS
${
android_proj_file_deps
}
${
JNI_LIB_NAME
}
)
endif
()
...
...
modules/java/CMakeLists.txt
View file @
46c4390a
This diff is collapsed.
Click to expand it.
modules/java/android_test/CMakeLists.txt
View file @
46c4390a
...
...
@@ -47,7 +47,7 @@ add_custom_command(
COMMAND
${
CMAKE_COMMAND
}
-E touch
"
${
opencv_test_java_bin_dir
}
/bin/OpenCVTest-debug.apk"
# needed because ant does not update the timestamp of updated apk
WORKING_DIRECTORY
"
${
opencv_test_java_bin_dir
}
"
MAIN_DEPENDENCY
"
${
opencv_test_java_bin_dir
}
/
${
ANDROID_MANIFEST_FILE
}
"
DEPENDS
"
${
OpenCV_BINARY_DIR
}
/bin/.classes.jar
.dephelper"
opencv_java
DEPENDS
"
${
JAR_FILE
}
.dephelper"
opencv_java
DEPENDS
${
opencv_test_java_file_deps
}
)
add_custom_target
(
${
PROJECT_NAME
}
ALL SOURCES
"
${
opencv_test_java_bin_dir
}
/bin/OpenCVTest-debug.apk"
)
...
...
modules/java/
jar/build.xml
→
modules/java/
build.xml.in
View file @
46c4390a
...
...
@@ -10,6 +10,6 @@
<include name="**/*.java"/>
</javac>
<jar
basedir=
"src"
destfile=
"bin/
opencv-@OPENCV_VERSION@.jar
"
/>
<jar basedir="src" destfile="bin/
@JAR_NAME@
"/>
</target>
</project>
\ No newline at end of file
modules/java/
java_
test/CMakeLists.txt
→
modules/java/test/CMakeLists.txt
View file @
46c4390a
File moved
modules/java/
java_
test/build.xml
→
modules/java/test/build.xml
View file @
46c4390a
...
...
@@ -37,7 +37,7 @@
<sysproperty
key=
"java.library.path"
path=
"${javaLibraryPath}"
/>
<classpath
refid=
"master-classpath"
/>
<classpath>
<pathelement
location=
"build/classes"
/>
<pathelement
location=
"build/classes"
/>
</classpath>
<formatter
type=
"xml"
/>
...
...
modules/java/
java_
test/lib/junit-4.11.jar
→
modules/java/test/lib/junit-4.11.jar
View file @
46c4390a
File moved
modules/java/
java_
test/src/org/opencv/test/OpenCVTestCase.java
→
modules/java/test/src/org/opencv/test/OpenCVTestCase.java
View file @
46c4390a
File moved
modules/java/
java_
test/src/org/opencv/test/OpenCVTestRunner.java
→
modules/java/test/src/org/opencv/test/OpenCVTestRunner.java
View file @
46c4390a
...
...
@@ -39,6 +39,6 @@ public class OpenCVTestRunner {
public
static
String
getOutputFileName
(
String
name
)
{
return
getTempFileName
(
name
);
return
getTempFileName
(
name
);
}
}
modules/python/CMakeLists.txt
View file @
46c4390a
...
...
@@ -80,6 +80,10 @@ set_target_properties(${the_module} PROPERTIES
OUTPUT_NAME cv2
SUFFIX
${
CVPY_SUFFIX
}
)
if
(
ENABLE_SOLUTION_FOLDERS
)
set_target_properties
(
${
the_module
}
PROPERTIES FOLDER
"bindings"
)
endif
()
if
(
CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wno-unused-function"
)
endif
()
...
...
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