exml/lutin_exml_test.py

36 lines
964 B
Python
Raw Normal View History

2013-06-21 20:56:22 +02:00
#!/usr/bin/python
2013-12-23 22:38:46 +01:00
import lutinModule as module
import lutinTools as tools
2013-06-21 20:56:22 +02:00
import datetime
2013-12-23 22:38:46 +01:00
def get_desc():
return "e-xml test software"
def create(target):
2013-06-21 20:56:22 +02:00
# module name is 'edn' and type binary.
myModule = module.Module(__file__, 'exml_test', 'BINARY')
2013-06-21 20:56:22 +02:00
# add the file to compile:
2013-12-23 22:38:46 +01:00
myModule.add_src_file([
'test/main.cpp'])
2013-06-21 20:56:22 +02:00
myModule.add_module_depend(['exml', 'gtest'])
2013-06-21 20:56:22 +02:00
now = datetime.datetime.now()
versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day)
# set the package properties :
2013-12-23 22:38:46 +01:00
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")
2013-06-21 20:56:22 +02:00
# add the currrent module at the
return myModule