diff options
author | Petre Eftime <[email protected]> | 2016-02-11 17:38:22 +0200 |
---|---|---|
committer | Petre Eftime <[email protected]> | 2016-02-11 17:40:41 +0200 |
commit | 9e1a0a24cd4f46463dd67aaee17384e258f36c0a (patch) | |
tree | 3f546b5fa690612bff37b235d6b404df6e65d7dc /examples/java/CMakeLists.txt | |
parent | 5010c46a910b1e298e6992f5074afcd3433a6ed9 (diff) |
Reorganize java example
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'examples/java/CMakeLists.txt')
-rw-r--r-- | examples/java/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/java/CMakeLists.txt b/examples/java/CMakeLists.txt index 4aff2496..33d7a175 100644 --- a/examples/java/CMakeLists.txt +++ b/examples/java/CMakeLists.txt @@ -2,9 +2,9 @@ find_package(Java REQUIRED) include(UseJava) -add_jar(Hellotinyb SOURCES Hellotinyb.java INCLUDE_JARS "${CMAKE_CURRENT_BINARY_DIR}/../../java/tinyb.jar" ENTRY_POINT Hellotinyb) +add_jar(HelloTinyB SOURCES HelloTinyB.java INCLUDE_JARS "${CMAKE_CURRENT_BINARY_DIR}/../../java/tinyb.jar" ENTRY_POINT HelloTinyB) -add_custom_command(TARGET Hellotinyb +add_custom_command(TARGET HelloTinyB POST_BUILD - COMMAND cp "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/Hellotinyb.dir/Hellotinyb.class" "${CMAKE_CURRENT_BINARY_DIR}" + COMMAND cp "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/HelloTinyB.dir/HelloTinyB.class" "${CMAKE_CURRENT_BINARY_DIR}" ) |