[DEV] update next lutin version

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

View File

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

View File

@ -7,14 +7,14 @@ def get_desc():
def create(target):
myModule = module.Module(__file__, 'exml', 'LIBRARY')
my_module = module.Module(__file__, 'exml', 'LIBRARY')
myModule.add_module_depend(['etk'])
my_module.add_module_depend(['etk'])
# add extra compilation flags :
myModule.add_extra_compile_flags()
my_module.add_extra_compile_flags()
# add sources files
myModule.add_src_file([
my_module.add_src_file([
'exml/debug.cpp',
'exml/Attribute.cpp',
'exml/AttributeList.cpp',
@ -26,7 +26,7 @@ def create(target):
'exml/Text.cpp'
])
myModule.add_header_file([
my_module.add_header_file([
'exml/exml.h',
'exml/Attribute.h',
'exml/AttributeList.h',
@ -38,9 +38,9 @@ def create(target):
'exml/Text.h'
])
myModule.add_path(tools.get_current_path(__file__))
my_module.add_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule
return my_module