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/strip/wscript

18 lines
362 B
Python

#! /usr/bin/env python
def options(opt):
opt.load('compiler_c')
def configure(conf):
conf.load('compiler_c')
# choose wisely
conf.load('strip', tooldir='.')
#conf.load('strip_hack', tooldir='.')
#conf.load('strip_on_install', tooldir='.')
def build(bld):
bld.shlib(source='a.c', target='lib1')
bld.program(source='main.c', target='app', use='lib1')