Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def configure(cnf):
- cnf.setenv('msvc')
- cnf.load('msvc')
- cnf.write_config_header('msvc/config.h', remove=False)
- cnf.setenv('gcc', env = cnf.env.derive())
- cnf.load('gcc')
- cnf.write_config_header('gcc/config.h', remove=False)
- def options(opt):
- opt.load('gcc')
- def build(bld):
- includes = []
- for i in range(0,200):
- includes.append('dir' + str(i))
- print bld.all_envs['gcc'].derive()
- bld(features='c cprogram',
- source=['a/main.c'],
- target='main',
- includes = includes,
- env = bld.all_envs['gcc'].derive(),
- )
Add Comment
Please, Sign In to add comment