parent
cdee05082b
commit
0322579329
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,8 @@ |
||||
class GioProg { |
||||
|
||||
public static int main(string[] args) { |
||||
var homedir = File.new_for_path(Environment.get_home_dir()); |
||||
stdout.printf("Home directory as told by gio is " + homedir.get_path() + "\n"); |
||||
return 0; |
||||
} |
||||
} |
@ -0,0 +1,9 @@ |
||||
project('giotest', 'vala', 'c') |
||||
|
||||
glib = dependency('glib-2.0') |
||||
gobject = dependency('gobject-2.0') |
||||
gio = dependency('gio-2.0') |
||||
|
||||
e = executable('gioprog', 'gioprog.vala', |
||||
deps : [glib, gobject, gio]) |
||||
test('giotest', e) |
Loading…
Reference in new issue