2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-27 20:39:23 +01:00
This commit is contained in:
Thomas Nagy 2016-05-06 23:22:55 +02:00
parent 145dba3fd1
commit 12cbb42cd7
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -13,9 +13,16 @@ def build(bld):
if not bld.env.build_gtk3: if not bld.env.build_gtk3:
return return
bld (
features = 'c glib2',
use = 'GLIB GIO GOBJECT',
source = 'test.gresource.xml',
target = 'foo'
)
bld ( bld (
features = 'c cprogram glib2', features = 'c cprogram glib2',
use = 'GTK3', use = 'GTK3 foo',
packages = 'gtk+-3.0', packages = 'gtk+-3.0',
source = 'test.vala', source = 'test.vala',
vala_resources = 'test.gresource.xml', # adds --gresources /path/to/test.gresources.xml vala_resources = 'test.gresource.xml', # adds --gresources /path/to/test.gresources.xml