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/playground/errcheck/typos/wscript

21 lines
489 B
Python

#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2010 (ita)
top = '.'
out = 'build'
def options(opt):
opt.load('compiler_c')
opt.load('errcheck')
def configure(conf):
conf.load('compiler_c')
def build(bld):
bld(feature='c cprogram', source='main.c', target='app1')
bld.program(sources='main.c', target='app2')
bld.program(source='main.c', targets='app3')
bld.program(source='main.c', target='app4', include='.')
bld.program(source='main.c', target='app5', define='x=1')