diff options
author | Petre Eftime <[email protected]> | 2016-06-24 17:01:33 +0300 |
---|---|---|
committer | Petre Eftime <[email protected]> | 2016-07-01 15:11:25 +0300 |
commit | 52ff32b31b53e11a75ab651e720837c3736ef2e6 (patch) | |
tree | f755dc0810afb30d8db0684e06eaff28d60c792a /examples/java/CMakeLists.txt | |
parent | 0459435831dd7d4331fd9f0e86a645c35e2940ce (diff) |
java: Add initial support for Java notifications
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'examples/java/CMakeLists.txt')
-rw-r--r-- | examples/java/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/java/CMakeLists.txt b/examples/java/CMakeLists.txt index 945deed5..4bfa5c58 100644 --- a/examples/java/CMakeLists.txt +++ b/examples/java/CMakeLists.txt @@ -14,3 +14,10 @@ add_custom_command(TARGET AsyncTinyB POST_BUILD COMMAND cp "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/AsyncTinyB.dir/AsyncTinyB.class" "${CMAKE_CURRENT_BINARY_DIR}" ) + +add_jar(Notification SOURCES Notification.java INCLUDE_JARS "${CMAKE_CURRENT_BINARY_DIR}/../../java/tinyb.jar" ENTRY_POINT Notification) + +add_custom_command(TARGET Notification + POST_BUILD + COMMAND cp "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/Notification.dir/Notification.class" "${CMAKE_CURRENT_BINARY_DIR}" +) |