waf/playground/strip/wscript

18 lines
362 B
Plaintext
Raw Normal View History

2011-09-10 11:13:51 +02:00
#! /usr/bin/env python
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c')
# choose wisely
2011-09-10 11:13:51 +02:00
conf.load('strip', tooldir='.')
2016-08-13 19:32:02 +02:00
#conf.load('strip_hack', tooldir='.')
#conf.load('strip_on_install', tooldir='.')
2011-09-10 11:13:51 +02:00
def build(bld):
2016-08-13 18:51:55 +02:00
bld.shlib(source='a.c', target='lib1')
bld.program(source='main.c', target='app', use='lib1')
2011-09-10 11:13:51 +02:00