waf

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

wscript (627B)


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