wscript 424 B

123456789101112131415161718192021
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2010 (ita)
  4. VERSION = '1.0'
  5. def options(opt):
  6. opt.load('compiler_c')
  7. def configure(conf):
  8. conf.load('compiler_c dbus')
  9. conf.find_program('glib-genmarshal') # required on a few systems
  10. def build(bld):
  11. tg = bld.program(
  12. includes = '.',
  13. source = bld.path.ant_glob('*.c'),
  14. target = 'gnome-hello')
  15. tg.add_dbus_file('test.xml', 'test_prefix', 'glib-server')