Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (25 sloc) 675 Bytes
APPNAME = 'waf_unittest'
VERSION = '0.1.0'
top = '.'
out = 'build'
def options(opt):
opt.load('compiler_cxx unittest_gtest')
def configure(conf):
conf.load('compiler_cxx unittest_gtest')
def build(bld):
bld.stlib(
source = 'lib.cpp',
includes = '.',
target = 'lib')
bld.program(features = 'gtest',
source = 'test.cpp',
includes = '.',
target = 'test',
use = 'lib')
bld.program(features = 'gtest',
source = 'test2.cpp',
includes = '.',
target = 'test2',
use = 'lib')
def shutdown(ctx):
pass