2014-12-04 23:30:36 +01:00
|
|
|
#!/usr/bin/python
|
2016-10-04 23:41:29 +02:00
|
|
|
import lutin.debug as debug
|
2015-05-08 22:40:53 +02:00
|
|
|
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():
|
2015-10-14 21:21:03 +02:00
|
|
|
return "Tutorial 0XX : Create costum Widget"
|
|
|
|
|
|
|
|
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]
|
2014-12-04 23:30:36 +01:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'appl/Main.cpp',
|
|
|
|
'appl/debug.cpp',
|
|
|
|
'appl/Windows.cpp',
|
|
|
|
'appl/widget/VectorDisplay.cpp',
|
|
|
|
])
|
|
|
|
my_module.add_depend([
|
|
|
|
'ewol'
|
|
|
|
])
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_flag('c++', [
|
2016-10-04 23:41:29 +02:00
|
|
|
"-DPROJECT_NAME=\"\\\""+my_module.get_name()+"\\\"\"",
|
|
|
|
"-DAPPL_VERSION=\"\\\"" + tools.version_to_string(get_version()) + "\\\"\""
|
|
|
|
])
|
|
|
|
my_module.add_path(".")
|
|
|
|
return True
|
2014-12-04 23:30:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|