Merge pull request #11174 from bgilbert/jar-manifest
depfixer: silence `fix_jar()` and make it do somethingpull/11186/head
commit
27bd499772
5 changed files with 63 additions and 2 deletions
@ -0,0 +1,7 @@ |
||||
package com.mesonbuild; |
||||
|
||||
class Simple { |
||||
public static void main(String [] args) { |
||||
System.out.println("Java is working.\n"); |
||||
} |
||||
} |
@ -0,0 +1,14 @@ |
||||
project('simplejava', 'java') |
||||
|
||||
one = jar('one', 'com/mesonbuild/Simple.java', |
||||
main_class : 'com.mesonbuild.Simple', |
||||
install : true, |
||||
install_dir : get_option('bindir'), |
||||
) |
||||
|
||||
two = jar('two', 'com/mesonbuild/Simple.java', |
||||
main_class : 'com.mesonbuild.Simple', |
||||
install : true, |
||||
install_dir : get_option('bindir'), |
||||
link_with : one, |
||||
) |
Loading…
Reference in new issue