java: Added version information & checks to ensure Java version matches Native version
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
5160d909d3
commit
03b548c33b
@@ -33,7 +33,7 @@ add_custom_command (TARGET mraajava
|
||||
COMMAND cmake -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/mraa
|
||||
COMMAND ${JAVAC} *.java -d ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMAND cmake -E echo "Creating jar"
|
||||
COMMAND ${JAR} cvf mraa.jar mraa
|
||||
COMMAND ${JAR} cvmf manifest.txt mraa.jar mraa
|
||||
)
|
||||
|
||||
if (DOXYGEN_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user