36 lines
748 B
Python
36 lines
748 B
Python
#!/usr/bin/python
|
|
import lutin.module as module
|
|
import lutin.tools as tools
|
|
|
|
def get_type():
|
|
return "LIBRARY"
|
|
|
|
def get_name():
|
|
return "estyle"
|
|
|
|
def get_desc():
|
|
return "style checker/updater for C++"
|
|
|
|
def configure(target, my_module):
|
|
my_module.add_depend(['etk', 'eproperty', 'cxx'])
|
|
# add extra compilation flags :
|
|
my_module.add_extra_flags()
|
|
# add sources files
|
|
my_module.add_src_file([
|
|
'estyle/debug.cpp',
|
|
'estyle/estyle.cpp',
|
|
'estyle/Generator.cpp',
|
|
'estyle/lexer/Lexer.cpp',
|
|
'estyle/lexer/tocken.cpp',
|
|
])
|
|
my_module.add_header_file([
|
|
'estyle/debug.hpp',
|
|
'estyle/estyle.hpp',
|
|
'estyle/Generator.hpp',
|
|
'estyle/lexer/Lexer.hpp',
|
|
'estyle/lexer/tocken.hpp',
|
|
])
|
|
return my_module
|
|
|
|
|