blob: a32e9d88876bf77c496c768a656762510a186c5e [file] [log] [blame]
Alexander Afanasyev77f6ae12018-06-14 17:54:17 -04001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2from waflib import Utils
3
4top = '..'
5
6def build(bld):
7 bld.objects(
8 target='tests-main',
9 source='main.cpp',
10 use='libndn-nac')
11
12 config_path = 'TMP_TESTS_PATH="%s"' % bld.bldnode.make_node('tmp-files')
13
14 bld.program(
15 target='../unit-tests',
16 name='unit-tests',
17 source=bld.path.ant_glob('**/*.cpp', excl='main.cpp'),
18 use='libndn-nac tests-main',
19 includes=['.'],
20 install_path=None,
21 defines=[config_path])