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
This commit is contained in:
Junxiao Shi
2016-08-05 03:54:28 +00:00
parent 38f4ce9f25
commit 9f5b01dfd8
51 changed files with 129 additions and 139 deletions
+5 -5
View File
@@ -156,15 +156,15 @@ main(int, char**)
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 @@ def build(bld):
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']: