summaryrefslogtreecommitdiffstats
path: root/test cases/java/1 basic/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/java/1 basic/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/java/1 basic/meson.build b/test cases/java/1 basic/meson.build
new file mode 100644
index 0000000..ef1a4b7
--- /dev/null
+++ b/test cases/java/1 basic/meson.build
@@ -0,0 +1,11 @@
+project('simplejava', 'java')
+
+javaprog = jar('myprog', 'com/mesonbuild/Simple.java',
+ main_class : 'com.mesonbuild.Simple',
+ install : true,
+ install_dir : get_option('bindir'))
+test('mytest', javaprog)
+
+jc = meson.get_compiler('java')
+message(jc.get_id())
+message(jc.get_linker_id())