2011-09-10 11:13:51 +02:00
|
|
|
#! /usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
# Jaap Haitsma, 2008
|
|
|
|
|
|
|
|
# the following two variables are used by the target "waf dist"
|
|
|
|
VERSION = '0.0.1'
|
|
|
|
APPNAME = 'vala-gtk-example'
|
|
|
|
|
|
|
|
# these variables are mandatory ('/' are converted automatically)
|
|
|
|
top = '.'
|
|
|
|
out = 'build'
|
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
opt.load('compiler_c')
|
|
|
|
opt.load('vala')
|
|
|
|
|
|
|
|
def configure(conf):
|
2016-03-09 22:25:52 +01:00
|
|
|
conf.env.VALA_MINVER = (0, 25, 0)
|
2011-09-10 11:13:51 +02:00
|
|
|
conf.load('compiler_c vala')
|
|
|
|
conf.check_cfg(package='glib-2.0', uselib_store='GLIB', atleast_version='2.10.0', mandatory=1, args='--cflags --libs')
|
2015-09-19 17:12:04 +02:00
|
|
|
conf.recurse('resources')
|
2011-09-10 11:13:51 +02:00
|
|
|
|
|
|
|
def build(bld):
|
2015-09-19 17:01:03 +02:00
|
|
|
bld.recurse('shlib multi-file stlib resources')
|
2011-09-10 11:13:51 +02:00
|
|
|
|