2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 20:01:13 +01:00
waf/demos/dbus/wscript
2011-09-10 11:13:51 +02:00

22 lines
424 B
Python

#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2010 (ita)
VERSION = '1.0'
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c dbus')
conf.find_program('glib-genmarshal') # required on a few systems
def build(bld):
tg = bld.program(
includes = '.',
source = bld.path.ant_glob('*.c'),
target = 'gnome-hello')
tg.add_dbus_file('test.xml', 'test_prefix', 'glib-server')