You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
435 B
Python
18 lines
435 B
Python
#! /usr/bin/env python
|
|
|
|
"""
|
|
This example illustrates several configuration methods:
|
|
. find_program for finding executables
|
|
. check_waf_version to throw a configuration error if the waf version is too old/too new
|
|
. find_file for finding files in particular folders
|
|
"""
|
|
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def configure(ctx):
|
|
ctx.find_program('touch', var='TOUCH')
|
|
ctx.check_waf_version(mini='1.6.0')
|
|
ctx.find_file('fstab', ['/opt/', '/etc'])
|
|
|