[DEV] update next lutin version
This commit is contained in:
parent
fa3c6a5fde
commit
21c05e60a8
@ -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__, 'exml-test', 'BINARY')
|
my_module = module.Module(__file__, 'exml-test', 'BINARY')
|
||||||
|
|
||||||
# add the file to compile:
|
# add the file to compile:
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main.cpp'])
|
'test/main.cpp'])
|
||||||
|
|
||||||
myModule.add_module_depend(['exml', 'gtest'])
|
my_module.add_module_depend(['exml', '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_xml tester soft")
|
my_module.pkg_set("DESCRIPTION", "E_xml 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
|
||||||
|
|
||||||
|
@ -7,14 +7,14 @@ def get_desc():
|
|||||||
|
|
||||||
|
|
||||||
def create(target):
|
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 :
|
# add extra compilation flags :
|
||||||
myModule.add_extra_compile_flags()
|
my_module.add_extra_compile_flags()
|
||||||
# add sources files
|
# add sources files
|
||||||
myModule.add_src_file([
|
my_module.add_src_file([
|
||||||
'exml/debug.cpp',
|
'exml/debug.cpp',
|
||||||
'exml/Attribute.cpp',
|
'exml/Attribute.cpp',
|
||||||
'exml/AttributeList.cpp',
|
'exml/AttributeList.cpp',
|
||||||
@ -26,7 +26,7 @@ def create(target):
|
|||||||
'exml/Text.cpp'
|
'exml/Text.cpp'
|
||||||
])
|
])
|
||||||
|
|
||||||
myModule.add_header_file([
|
my_module.add_header_file([
|
||||||
'exml/exml.h',
|
'exml/exml.h',
|
||||||
'exml/Attribute.h',
|
'exml/Attribute.h',
|
||||||
'exml/AttributeList.h',
|
'exml/AttributeList.h',
|
||||||
@ -38,9 +38,9 @@ def create(target):
|
|||||||
'exml/Text.h'
|
'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
|
# add the currrent module at the
|
||||||
return myModule
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user