blob: bbe702ce92673b2639684b3e06db4be3ce847b47 [file] [log] [blame]
Yingdi Yuce94f352015-04-11 19:17:01 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2from waflib import Utils
3
4top = '..'
5
6def build(bld):
7 test_main = bld(
8 target='tests-main',
9 name='tests-main',
10 features='cxx',
11 source=bld.path.ant_glob(['main.cpp']),
12 use='libndn-group-encrypt',
13 )
14
15 unit_test = bld.program(
16 target="../unit-tests",
17 source=bld.path.ant_glob(['unit-tests/**/*.cpp']),
18 features=['cxx', 'cxxprogram'],
19 use='libndn-group-encrypt tests-main',
20 includes=['.'],
21 install_path=None,
22 )