wscript 346 B

12345678910111213141516171819202122232425
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Thomas Nagy, 2009 (ita)
  4. """
  5. Use 'waf daemon'
  6. """
  7. VERSION='0.0.1'
  8. APPNAME='cc_test'
  9. top = '.'
  10. out = 'build'
  11. def options(opt):
  12. opt.load('daemon', tooldir='.')
  13. def configure(conf):
  14. conf.load('gcc')
  15. conf.load('daemon', tooldir='.')
  16. def build(bld):
  17. bld.program(
  18. source='main.c',
  19. target='test')