blob: 706697a5072d4f61746383ac697c760516edf492 [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']),
Yingdi Yuda495a92015-05-05 13:57:59 -070012 use='ndn-group-encrypt',
Yingdi Yuce94f352015-04-11 19:17:01 -070013 )
14
15 unit_test = bld.program(
16 target="../unit-tests",
17 source=bld.path.ant_glob(['unit-tests/**/*.cpp']),
18 features=['cxx', 'cxxprogram'],
Yingdi Yuda495a92015-05-05 13:57:59 -070019 use='ndn-group-encrypt tests-main',
Yingdi Yuce94f352015-04-11 19:17:01 -070020 includes=['.'],
21 install_path=None,
22 )