Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 2053a0d9eaaf755b990f80ce4df504a7 > files > 342

waf-1.5.9-1mdv2010.0.noarch.rpm

#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2008 (ita)

VERSION='0.0.1'
APPNAME='test'
srcdir = '.'
blddir = 'build'

def set_options(opt):
	# define an option directly
	opt.add_option('--exe', action='store_true', default=False, help='Execute the program after it is compiled')

	# options provided by an existing waf tool
	opt.tool_options('compiler_cxx')

	# fetch other options from a subdirectory (different project module)
	opt.sub_options('src')

def configure(conf):
	import Options
	print "option uuu is", Options.options.uuu
	if not Options.options.uuu: print "(try ./waf configure --uuu)"
	else: print "uuu uuu uuu uuu uuu"
def build(bld):
	pass