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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/docs/book/examples/scenarios_unknown/wscript

21 lines
380 B
Python

#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2008-2010 (ita)
"""
a compiler that creates files unknown in advance
see mytool.py
"""
top = '.'
out = 'build'
def configure(conf):
conf.load('gcc')
conf.load('mytool', tooldir='.')
def build(bld):
bld.env.COMP = bld.path.find_resource('evil_comp.py').abspath()
bld.stlib(source='x.c foo.src', target='astaticlib')