parent
09c24654a6
commit
7814ef986f
6 changed files with 30 additions and 0 deletions
@ -0,0 +1,7 @@ |
||||
using System; |
||||
|
||||
public class Helper { |
||||
public void print() { |
||||
Console.WriteLine("Library class called."); |
||||
} |
||||
} |
@ -0,0 +1,2 @@ |
||||
bin/prog.exe |
||||
lib/libhelper.dll |
@ -0,0 +1,5 @@ |
||||
project('C# library', 'cs') |
||||
|
||||
l = shared_library('helper', 'helper.cs', install : true) |
||||
e = executable('prog', 'prog.cs', link_with : l, install : true) |
||||
test('libtest', e) |
@ -0,0 +1,8 @@ |
||||
using System; |
||||
|
||||
public class Prog { |
||||
static public void Main () { |
||||
Helper h = new Helper(); |
||||
h.print(); |
||||
} |
||||
} |
Loading…
Reference in new issue