core: move common.hpp to core/
Headers in core/ are now included as `#include "core/*.hpp"`.
This allows NFD to rely less on include paths when used as a submodule in
another codebase, such as ndnSIM and NFD-Android.
refs #3127
Change-Id: Ia38f3c97427e17ff7b5401281f1fe875b5d5313e
diff --git a/wscript b/wscript
index f7b9cd9..54cbe4e 100644
--- a/wscript
+++ b/wscript
@@ -156,15 +156,15 @@
if not conf.options.debug:
conf.define('NDEBUG', 1)
- conf.write_config_header('config.hpp')
+ conf.write_config_header('core/config.hpp')
def build(bld):
version(bld)
bld(features="subst",
name='version',
- source='version.hpp.in',
- target='version.hpp',
+ source='core/version.hpp.in',
+ target='core/version.hpp',
install_path=None,
VERSION_STRING=VERSION_BASE,
VERSION_BUILD=VERSION,
@@ -184,8 +184,8 @@
excl=['core/logger*.cpp']),
use='version NDN_CXX BOOST LIBRT',
includes='. core',
- export_includes='. core',
- headers='common.hpp',
+ export_includes='.',
+ headers='core/common.hpp'
)
if bld.env['HAVE_CUSTOM_LOGGER']: