blob: 727740260a7ff073e74a5b42d3042d5775836429 [file] [log] [blame]
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '..'
def build(bld):
if bld.env.WITH_INTEGRATION_TESTS or bld.env.WITH_UNIT_TESTS:
bld.objects(
target='tests-common',
source=bld.path.ant_glob('*.cpp'),
features='pch',
headers='tests-pch.hpp',
use='BOOST_TESTS ndn-cxx')
if bld.env.WITH_BENCHMARKS:
bld.recurse('benchmarks')
if bld.env.WITH_INTEGRATION_TESTS:
bld.recurse('integration')
if bld.env.WITH_UNIT_TESTS:
bld.recurse('unit')