2014-12-04 23:30:36 +01:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:40:53 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2014-12-04 23:30:36 +01:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_sub_type():
|
|
|
|
return "SAMPLE"
|
2014-12-04 23:30:36 +01:00
|
|
|
|
|
|
|
def get_desc():
|
|
|
|
return "Tutorial 001 : Hello Word"
|
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
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,1]
|
|
|
|
|
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2014-12-04 23:30:36 +01:00
|
|
|
'appl/Main.cpp',
|
|
|
|
'appl/debug.cpp',
|
|
|
|
'appl/Windows.cpp',
|
|
|
|
])
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_depend(['ewol'])
|
|
|
|
my_module.add_flag('c++', [
|
|
|
|
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
|
2016-03-16 21:42:49 +01:00
|
|
|
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
|
|
|
])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
|
|
|
return my_module
|
2014-12-04 23:30:36 +01:00
|
|
|
|