egami/lutin_egami.py

53 lines
1.0 KiB
Python
Raw Permalink Normal View History

#!/usr/bin/python
2015-05-08 22:36:40 +02:00
import lutin.module as module
import lutin.tools as tools
2015-10-14 21:21:03 +02:00
def get_type():
return "LIBRARY"
2013-12-23 22:38:46 +01:00
def get_desc():
2015-10-14 21:21:03 +02:00
return "image generator from multiple image type"
def get_licence():
return "APACHE-2"
def get_compagny_type():
return "com"
2013-12-23 22:38:46 +01:00
2015-10-14 21:21:03 +02:00
def get_compagny_name():
return "atria-soft"
def get_maintainer():
2016-09-12 21:06:37 +02:00
return "authors.txt"
2015-10-14 21:21:03 +02:00
def get_version():
2016-09-12 21:06:37 +02:00
return "version.txt"
2015-10-14 21:21:03 +02:00
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2016-09-08 21:35:02 +02:00
my_module.add_extra_flags()
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
'egami/Image.cpp',
2014-01-07 21:35:05 +01:00
'egami/ImageMono.cpp',
'egami/egami.cpp',
'egami/debug.cpp',
'egami/wrapperPNG.cpp',
'egami/wrapperSVG.cpp',
2014-01-19 19:14:35 +01:00
'egami/wrapperBMP.cpp',
2015-10-14 21:21:03 +02:00
'egami/wrapperEDF.cpp'
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
2015-09-14 21:11:04 +02:00
'egami/Image.h',
'egami/ImageMono.h',
'egami/egami.h',
])
2016-09-08 21:35:02 +02:00
my_module.add_depend(['etk', 'png', 'esvg', 'edtaa3'])
my_module.add_flag('c++', [
'-Wno-write-strings',
'-Wall'])
2015-09-24 21:44:04 +02:00
my_module.add_path(tools.get_current_path(__file__))
return my_module