[DEV] update Build interface

This commit is contained in:
Edouard DUPIN 2015-09-14 21:11:04 +02:00
parent 0c11a92789
commit d908aeff33
2 changed files with 15 additions and 3 deletions

View File

@ -10,7 +10,7 @@
#define __ETK_JSON_VALUE_H__
#include <etk/types.h>
#include <etk/memory.h>
#include <memory>
namespace ejson {

View File

@ -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