[DEV] update new lutin 0.8.0
This commit is contained in:
parent
21c05e60a8
commit
c75b597eca
@ -3,33 +3,42 @@ import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
import datetime
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_name():
|
||||
return "exml_tester"
|
||||
|
||||
def get_sub_type():
|
||||
return "TEST"
|
||||
|
||||
def get_desc():
|
||||
return "e-xml test software"
|
||||
|
||||
def get_licence():
|
||||
return "APACHE-2"
|
||||
|
||||
def create(target):
|
||||
# module name is 'edn' and type binary.
|
||||
my_module = module.Module(__file__, 'exml-test', 'BINARY')
|
||||
|
||||
# add the file to compile:
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_src_file([
|
||||
'test/main.cpp'])
|
||||
|
||||
my_module.add_module_depend(['exml', 'gtest'])
|
||||
|
||||
'test/main.cpp'
|
||||
])
|
||||
my_module.add_module_depend(['exml', 'gtest', 'test-debug'])
|
||||
now = datetime.datetime.now()
|
||||
versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day)
|
||||
|
||||
# set the package properties :
|
||||
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 my_module
|
||||
|
||||
|
@ -2,18 +2,32 @@
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "LIBRARY"
|
||||
|
||||
def get_desc():
|
||||
return "e-xml XML parser and generator"
|
||||
return "XML parser and generator"
|
||||
|
||||
def get_licence():
|
||||
return "APACHE-2"
|
||||
|
||||
def create(target):
|
||||
my_module = module.Module(__file__, 'exml', 'LIBRARY')
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||
|
||||
def get_version():
|
||||
return [0,0,0]
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name, get_type())
|
||||
my_module.add_module_depend(['etk'])
|
||||
|
||||
# add extra compilation flags :
|
||||
my_module.add_extra_compile_flags()
|
||||
# add sources files
|
||||
my_module.add_src_file([
|
||||
'exml/debug.cpp',
|
||||
'exml/Attribute.cpp',
|
||||
@ -25,7 +39,6 @@ def create(target):
|
||||
'exml/Node.cpp',
|
||||
'exml/Text.cpp'
|
||||
])
|
||||
|
||||
my_module.add_header_file([
|
||||
'exml/exml.h',
|
||||
'exml/Attribute.h',
|
||||
@ -37,10 +50,7 @@ def create(target):
|
||||
'exml/Node.h',
|
||||
'exml/Text.h'
|
||||
])
|
||||
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
|
||||
# add the currrent module at the
|
||||
return my_module
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#define __EXML_TEST_COMMON_H__
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <exml/debug.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <exml/exml.h>
|
||||
|
||||
// _errorPos : -1 : no error , 1 : parsing error, 2 generation error, 3 comparaison error ????
|
||||
|
@ -6,7 +6,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <exml/debug.h>
|
||||
#include <test-debug/debug.h>
|
||||
#include <vector>
|
||||
#include <gtest/gtest.h>
|
||||
#include <etk/os/FSNode.h>
|
||||
|
Loading…
Reference in New Issue
Block a user