build: various updates
* Upgrade waf to 2.0.14
* Sync default compiler flags with ndn-cxx
* Remove unused pch waf tool
* Simplify compilation of unit-tests
Change-Id: I2aa21454dd5d691ad2093923582443e5f8329ba7
diff --git a/wscript b/wscript
index 04445f3..70e0b5b 100644
--- a/wscript
+++ b/wscript
@@ -9,8 +9,8 @@
def options(opt):
opt.load(['compiler_c', 'compiler_cxx', 'gnu_dirs'])
- opt.load(['default-compiler-flags', 'boost', 'doxygen', 'sphinx_build',
- 'sanitizers', 'coverage', 'pch'],
+ opt.load(['default-compiler-flags', 'coverage', 'sanitizers',
+ 'boost', 'doxygen', 'sphinx_build'],
tooldir=['.waf-tools'])
opt.add_option('--with-examples', action='store_true', default=False,
@@ -20,8 +20,9 @@
help='Build unit tests')
def configure(conf):
- conf.load(['compiler_c', 'compiler_cxx', 'gnu_dirs', 'default-compiler-flags',
- 'boost', 'pch', 'doxygen', 'sphinx_build'])
+ conf.load(['compiler_c', 'compiler_cxx', 'gnu_dirs',
+ 'default-compiler-flags', 'boost',
+ 'doxygen', 'sphinx_build'])
if 'PKG_CONFIG_PATH' not in os.environ:
os.environ['PKG_CONFIG_PATH'] = Utils.subst_vars('${LIBDIR}/pkgconfig', conf.env)