forked from mirror/waf
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.
21 lines
381 B
Python
21 lines
381 B
Python
#! /usr/bin/env python
|
|
|
|
"""
|
|
compare the execution time of
|
|
waf configure
|
|
and
|
|
waf configure --confcache
|
|
"""
|
|
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def options(opt):
|
|
opt.load('compiler_c')
|
|
opt.add_option('--confcache', dest='confcache', default=0, action='count', help='Use a configuration cache')
|
|
|
|
def configure(conf):
|
|
conf.load('compiler_c')
|
|
conf.check(fragment='int main() { return 0; }')
|
|
|