wscript 627 B

12345678910111213141516171819202122232425
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Jaap Haitsma, 2008
  4. # the following two variables are used by the target "waf dist"
  5. VERSION = '0.0.1'
  6. APPNAME = 'vala-gtk-example'
  7. # these variables are mandatory ('/' are converted automatically)
  8. top = '.'
  9. out = 'build'
  10. def options(opt):
  11. opt.load('compiler_c')
  12. opt.load('vala')
  13. def configure(conf):
  14. conf.env.VALA_MINVER = (0, 25, 0)
  15. conf.load('compiler_c vala')
  16. conf.check_cfg(package='glib-2.0', uselib_store='GLIB', atleast_version='2.10.0', mandatory=1, args='--cflags --libs')
  17. conf.recurse('resources')
  18. def build(bld):
  19. bld.recurse('shlib multi-file stlib resources')