From d908aeff3387be0a0d9f06c52f616ff4dfb3097a Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 14 Sep 2015 21:11:04 +0200 Subject: [PATCH] [DEV] update Build interface --- ejson/Value.h | 2 +- lutin_ejson.py | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ejson/Value.h b/ejson/Value.h index 709d77c..903109a 100644 --- a/ejson/Value.h +++ b/ejson/Value.h @@ -10,7 +10,7 @@ #define __ETK_JSON_VALUE_H__ #include -#include +#include namespace ejson { diff --git a/lutin_ejson.py b/lutin_ejson.py index 706d5c9..9228973 100644 --- a/lutin_ejson.py +++ b/lutin_ejson.py @@ -22,9 +22,21 @@ def create(target): 'ejson/Number.cpp', 'ejson/String.cpp', 'ejson/Object.cpp', - 'ejson/Value.cpp']) + 'ejson/Value.cpp' + ]) - myModule.add_export_path(tools.get_current_path(__file__)) + myModule.add_header_file([ + 'ejson/ejson.h', + 'ejson/Array.h', + 'ejson/Boolean.h', + 'ejson/Null.h', + 'ejson/Number.h', + 'ejson/String.h', + 'ejson/Object.h', + 'ejson/Value.h' + ]) + + myModule.add_path(tools.get_current_path(__file__)) # add the currrent module at the return myModule