cmake(java): Add examples (#202)

This commit is contained in:
Mizux Seiha
2020-09-17 18:02:02 +02:00
parent 8df2add59c
commit 87aba8675b
3 changed files with 10 additions and 15 deletions

View File

@@ -2,3 +2,7 @@ if(NOT BUILD_JAVA_EXAMPLES)
return()
endif()
file(GLOB JAVA_SRCS "*.java")
foreach(SAMPLE IN LISTS JAVA_SRCS)
add_java_example(${SAMPLE})
endforeach()