blob: 5a2113932405feb32d4f1c671e3e83f0b9c990b1 [file] [log] [blame]
Junxiao Shi2713a3b2015-06-22 16:19:05 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2top = '..'
3
4def build(bld):
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -05005 bld.program(
Davide Pesaventob6e10dd2023-09-11 21:41:24 -04006 target=f'{top}/unit-tests',
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -05007 name='unit-tests',
Davide Pesaventob6e10dd2023-09-11 21:41:24 -04008 source=bld.path.ant_glob(['*.cpp'] + [f'{tool}/**/*.cpp' for tool in bld.env.BUILD_TOOLS]),
9 use=['core-objects'] + [f'{tool}-objects' for tool in bld.env.BUILD_TOOLS],
Davide Pesaventoae37cf32019-02-20 18:19:22 -050010 install_path=None)