blob: 727740260a7ff073e74a5b42d3042d5775836429 [file] [log] [blame]
Alexander Afanasyeva1ae0a12014-01-28 15:21:02 -08001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
Davide Pesavento550d8c92023-11-05 01:30:01 -04003top = '..'
Alexander Afanasyeva1ae0a12014-01-28 15:21:02 -08004
5def build(bld):
Davide Pesavento906dde52024-02-24 20:52:23 -05006 if bld.env.WITH_INTEGRATION_TESTS or bld.env.WITH_UNIT_TESTS:
7 bld.objects(
8 target='tests-common',
9 source=bld.path.ant_glob('*.cpp'),
10 features='pch',
11 headers='tests-pch.hpp',
12 use='BOOST_TESTS ndn-cxx')
Alexander Afanasyev5560fd42018-03-07 17:03:03 -050013
Davide Pesavento906dde52024-02-24 20:52:23 -050014 if bld.env.WITH_BENCHMARKS:
15 bld.recurse('benchmarks')
16
17 if bld.env.WITH_INTEGRATION_TESTS:
18 bld.recurse('integration')
19
20 if bld.env.WITH_UNIT_TESTS:
21 bld.recurse('unit')