2013-06-21 20:56:22 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutinModule
|
|
|
|
import lutinTools
|
|
|
|
import datetime
|
|
|
|
|
|
|
|
def Create(target):
|
|
|
|
# module name is 'edn' and type binary.
|
2013-07-02 21:50:06 +02:00
|
|
|
myModule = lutinModule.module(__file__, 'exmltest', 'BINARY')
|
2013-06-21 20:56:22 +02:00
|
|
|
|
|
|
|
# add the file to compile:
|
|
|
|
myModule.AddSrcFile([
|
2013-06-21 22:25:24 +02:00
|
|
|
'exml/test.cpp'])
|
2013-06-21 20:56:22 +02:00
|
|
|
|
2013-07-02 21:50:06 +02:00
|
|
|
myModule.AddModuleDepend(['exml'])
|
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 :
|
|
|
|
myModule.pkgSet("VERSION", versionID)
|
|
|
|
myModule.pkgSet("COMPAGNY_TYPE", "org")
|
|
|
|
myModule.pkgSet("COMPAGNY_NAME", "Edouard DUPIN")
|
|
|
|
myModule.pkgSet("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
|
|
|
|
myModule.pkgSet("SECTION", ["Development"])
|
|
|
|
myModule.pkgSet("PRIORITY", "optional")
|
|
|
|
myModule.pkgSet("DESCRIPTION", "E_xml tester soft")
|
|
|
|
myModule.pkgSet("NAME", "exml_tester")
|
|
|
|
|
|
|
|
# add the currrent module at the
|
|
|
|
return myModule
|
|
|
|
|