parent
596c7106f7
commit
52b7f1a096
4 changed files with 17 additions and 1 deletions
@ -0,0 +1 @@ |
||||
Hello World! |
@ -0,0 +1,4 @@ |
||||
project('C# external library', 'cs') |
||||
glib_sharp_2 = dependency('glib-sharp-2.0') |
||||
e = executable('prog', 'prog.cs', dependencies: glib_sharp_2, install : true) |
||||
test('libtest', e, args: [join_paths(meson.current_source_dir(), 'hello.txt')]) |
@ -0,0 +1,8 @@ |
||||
using System; |
||||
using GLib; |
||||
|
||||
public class Prog { |
||||
static public void Main (string[] args) { |
||||
Console.WriteLine(GLib.FileUtils.GetFileContents(args[0])); |
||||
} |
||||
} |
Loading…
Reference in new issue