mirror of
https://github.com/opencv/opencv.git
synced 2025-06-18 16:11:50 +08:00
Added javadoc generation
This commit is contained in:
parent
8b455e8bb3
commit
4d62f1de1e
@ -45,9 +45,6 @@ public class DMatch {
|
|||||||
distance = _distance;
|
distance = _distance;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Less is better.
|
|
||||||
*/
|
|
||||||
public boolean lessThan(DMatch it) {
|
public boolean lessThan(DMatch it) {
|
||||||
return distance < it.distance;
|
return distance < it.distance;
|
||||||
}
|
}
|
||||||
|
@ -345,7 +345,7 @@ else(ANDROID)
|
|||||||
list(APPEND step3_depends "${OpenCV_BINARY_DIR}/build.xml")
|
list(APPEND step3_depends "${OpenCV_BINARY_DIR}/build.xml")
|
||||||
|
|
||||||
add_custom_command(OUTPUT "${JAR_FILE}" "${JAR_FILE}.dephelper"
|
add_custom_command(OUTPUT "${JAR_FILE}" "${JAR_FILE}.dephelper"
|
||||||
COMMAND ${ANT_EXECUTABLE} -q -noinput -k jar
|
COMMAND ${ANT_EXECUTABLE} -q -noinput -k jar javadoc
|
||||||
COMMAND ${CMAKE_COMMAND} -E touch "${JAR_FILE}.dephelper"
|
COMMAND ${CMAKE_COMMAND} -E touch "${JAR_FILE}.dephelper"
|
||||||
WORKING_DIRECTORY "${OpenCV_BINARY_DIR}"
|
WORKING_DIRECTORY "${OpenCV_BINARY_DIR}"
|
||||||
DEPENDS ${step3_depends}
|
DEPENDS ${step3_depends}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<!-- process, this config is used to package the autogenerated .java -->
|
<!-- process, this config is used to package the autogenerated .java -->
|
||||||
<!-- interface files into OpenCV.jar -->
|
<!-- interface files into OpenCV.jar -->
|
||||||
<project name="OpenCV">
|
<project name="OpenCV">
|
||||||
|
|
||||||
<target name="jar">
|
<target name="jar">
|
||||||
<!-- This is to make a jar with a source attachment, for e.g. easy -->
|
<!-- This is to make a jar with a source attachment, for e.g. easy -->
|
||||||
<!-- navigation in Eclipse. See this question: -->
|
<!-- navigation in Eclipse. See this question: -->
|
||||||
@ -10,7 +11,21 @@
|
|||||||
<include name="**/*.java"/>
|
<include name="**/*.java"/>
|
||||||
<compilerarg line="-encoding utf-8"/>
|
<compilerarg line="-encoding utf-8"/>
|
||||||
</javac>
|
</javac>
|
||||||
|
|
||||||
<jar basedir="src" destfile="bin/@JAR_NAME@"/>
|
<jar basedir="src" destfile="bin/@JAR_NAME@"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="javadoc">
|
||||||
|
<tstamp>
|
||||||
|
<format property="doctimestamp" pattern="EEE MMM d yyyy HH:mm:ss z"/>
|
||||||
|
</tstamp>
|
||||||
|
<javadoc
|
||||||
|
packagenames="org.opencv.*"
|
||||||
|
sourcepath="src"
|
||||||
|
destdir="doc/javadoc"
|
||||||
|
Windowtitle="OpenCV @OPENCV_VERSION_PLAIN@ Java documentation"
|
||||||
|
Doctitle="OpenCV Java documentation (@OPENCV_VERSION@)"
|
||||||
|
bottom="Generated on ${doctimestamp} / OpenCV @OPENCV_VCSVERSION@"
|
||||||
|
/>
|
||||||
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user