mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
cmake: Java/Android SDK refactoring
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<project>
|
||||
<project name="OpenCV-Test">
|
||||
<property environment="env"/>
|
||||
<property file="ant-${opencv.build.type}.properties"/>
|
||||
<property name="test.dir" value="testResults"/>
|
||||
@@ -27,7 +27,7 @@
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="jar">
|
||||
<target name="jar" depends="compile">
|
||||
<mkdir dir="build/jar"/>
|
||||
<jar destfile="build/jar/opencv-test.jar" basedir="build/classes">
|
||||
<manifest>
|
||||
@@ -36,7 +36,7 @@
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="test">
|
||||
<target name="test" depends="jar">
|
||||
<mkdir dir="${test.dir}"/>
|
||||
<junit printsummary="true" haltonfailure="false" haltonerror="false" showoutput="true" logfailedtests="true" maxmemory="256m">
|
||||
<sysproperty key="java.library.path" path="${opencv.lib.path}"/>
|
||||
@@ -62,14 +62,9 @@
|
||||
</junitreport>
|
||||
</target>
|
||||
|
||||
<target name="build">
|
||||
<antcall target="compile"/>
|
||||
<antcall target="jar"/>
|
||||
<target name="build" depends="jar">
|
||||
</target>
|
||||
|
||||
<target name="buildAndTest">
|
||||
<antcall target="compile"/>
|
||||
<antcall target="jar"/>
|
||||
<antcall target="test"/>
|
||||
<target name="buildAndTest" depends="test">
|
||||
</target>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user