waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

wscript (424B)


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