Files
ndn-cxx/tests/wscript
T
Alexander Afanasyev 766cea7931 ====== Renaming library to ndn-cxx ======
Dependent applications should perform the following changes:

* all includes should be changed from <ndn-cpp-dev/...> to <ndn-cxx/...>
* documentation files/comments referring to ndn-cpp-dev should be
  updated and refer to ndn-cxx
* if the app uses pkgconfig for dependency detection, 'libndn-cpp-dev'
  should be replaced with 'libndn-cxx'.  Example for waf users:

    conf.check_cfg(package = 'libndn-cxx', args = ['--cflags', '--libs'],
                   uselib_store = 'NDN_CXX', mandatory = True)

Change-Id: I92d9ec7ff176b9fe8b4352bf04bbb32aa810422d
Refs: #1491
2014-04-24 22:49:51 -07:00

26 lines
720 B
Python

# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
from waflib import Utils
top = '..'
def build(bld):
unittests = bld.program (
target="../unit-tests",
features="cxx cxxprogram",
source=bld.path.ant_glob(['**/*.cpp'],
excl=['**/*-osx.cpp', '**/*-sqlite3.cpp']),
use='ndn-cxx',
includes='.',
install_path=None,
)
if bld.env['HAVE_OSX_SECURITY']:
unittests.source += bld.path.ant_glob('**/*-osx.cpp')
# In case we want to make it optional later
unittests.source += bld.path.ant_glob('**/*-sqlite3.cpp')
if bld.env['WITH_PCH']:
unittests.pch = "test-all.hpp"