[DEV] update next lutin version

This commit is contained in:
Edouard DUPIN 2015-09-24 21:44:04 +02:00
parent d908aeff33
commit 93aa484011
2 changed files with 19 additions and 19 deletions

View File

@ -9,27 +9,27 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'ejson-test', 'BINARY') my_module = module.Module(__file__, 'ejson-test', 'BINARY')
# add the file to compile: # add the file to compile:
myModule.add_src_file([ my_module.add_src_file([
'test/test.cpp']) 'test/test.cpp'])
myModule.add_module_depend(['ejson', 'gtest']) my_module.add_module_depend(['ejson', 'gtest'])
now = datetime.datetime.now() now = datetime.datetime.now()
versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day) versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day)
# set the package properties : # set the package properties :
myModule.pkg_set("VERSION", versionID) my_module.pkg_set("VERSION", versionID)
myModule.pkg_set("COMPAGNY_TYPE", "org") my_module.pkg_set("COMPAGNY_TYPE", "org")
myModule.pkg_set("COMPAGNY_NAME", "Edouard DUPIN") my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
myModule.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"]) my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
myModule.pkg_set("SECTION", ["Development"]) my_module.pkg_set("SECTION", ["Development"])
myModule.pkg_set("PRIORITY", "optional") my_module.pkg_set("PRIORITY", "optional")
myModule.pkg_set("DESCRIPTION", "e-json tester soft") my_module.pkg_set("DESCRIPTION", "e-json tester soft")
myModule.pkg_set("NAME", "exml_tester") my_module.pkg_set("NAME", "exml_tester")
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -7,13 +7,13 @@ def get_desc():
def create(target): def create(target):
myModule = module.Module(__file__, 'ejson', 'LIBRARY') my_module = module.Module(__file__, 'ejson', 'LIBRARY')
myModule.add_module_depend(['etk']) my_module.add_module_depend(['etk'])
# add extra compilation flags : # add extra compilation flags :
myModule.add_extra_compile_flags() my_module.add_extra_compile_flags()
myModule.add_src_file([ my_module.add_src_file([
'ejson/debug.cpp', 'ejson/debug.cpp',
'ejson/ejson.cpp', 'ejson/ejson.cpp',
'ejson/Array.cpp', 'ejson/Array.cpp',
@ -25,7 +25,7 @@ def create(target):
'ejson/Value.cpp' 'ejson/Value.cpp'
]) ])
myModule.add_header_file([ my_module.add_header_file([
'ejson/ejson.h', 'ejson/ejson.h',
'ejson/Array.h', 'ejson/Array.h',
'ejson/Boolean.h', 'ejson/Boolean.h',
@ -36,9 +36,9 @@ def create(target):
'ejson/Value.h' 'ejson/Value.h'
]) ])
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
# add the currrent module at the # add the currrent module at the
return myModule return my_module