apps+examples: Adjust Face creation and Face operations for NFD 0.4+ model
Change-Id: Ib0fb0f49a550c77a9bd94729cdf6fb3b11d1e8ab
Refs: #3560
diff --git a/wscript b/wscript
index 444f7ac..0a1f0d9 100644
--- a/wscript
+++ b/wscript
@@ -138,8 +138,6 @@
module_dirs = ['apps', 'helper', 'model', 'utils']
module.source = bld.path.ant_glob(['%s/**/*.cpp' % dir for dir in module_dirs],
excl=[
- 'apps/ndn-consumer*.cpp',
- 'apps/ndn-producer*.cpp',
'model/ip-faces/*']) + ndnCxxSrc + nfdSrc
module_dirs = ['NFD/core', 'NFD/daemon', 'NFD/rib', 'apps', 'helper', 'model', 'utils']
@@ -148,8 +146,8 @@
module.ndncxx_headers = bld.path.ant_glob(['ndn-cxx/src/**/*.hpp'],
excl=['src/**/*-osx.hpp', 'src/detail/**/*'])
- # if bld.env.ENABLE_EXAMPLES:
- # bld.recurse('examples')
+ if bld.env.ENABLE_EXAMPLES:
+ bld.recurse('examples')
if bld.env.ENABLE_TESTS:
bld.recurse('tests')