The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
262 B
9 lines
262 B
8 months ago
|
project('test', default_options: ['werror=true'])
|
||
|
if meson.backend() != 'ninja'
|
||
|
error('MESON_SKIP_TEST: Java requires Ninja backend')
|
||
|
endif
|
||
|
if not add_languages('java', required: false)
|
||
|
error('MESON_SKIP_TEST: Java not found')
|
||
|
endif
|
||
|
jar('prog', 'Test.java')
|