[DEV] update next lutin version

This commit is contained in:
Edouard DUPIN 2015-09-24 21:44:04 +02:00
parent 85a27112d4
commit c9d27bcbb2
2 changed files with 13 additions and 13 deletions

View File

@ -12,18 +12,18 @@ def get_licence():
} }
def create(target): def create(target):
myModule = module.Module(__file__, 'egami-test', 'BINARY') my_module = module.Module(__file__, 'egami-test', 'BINARY')
myModule.add_module_depend(['egami', 'gtest', 'test-debug']) my_module.add_module_depend(['egami', 'gtest', 'test-debug'])
myModule.add_src_file([ my_module.add_src_file([
'test/main.cpp' 'test/main.cpp'
]) ])
myModule.add_export_path(tools.get_current_path(__file__)) my_module.add_export_path(tools.get_current_path(__file__))
# add the currrent module at the # add the currrent module at the
return myModule return my_module

View File

@ -7,12 +7,12 @@ def get_desc():
def create(target): def create(target):
# module name is 'edn' and type binary. # module name is 'edn' and type binary.
myModule = module.Module(__file__, 'egami', 'LIBRARY') my_module = module.Module(__file__, 'egami', 'LIBRARY')
# add extra compilation flags : # add extra compilation flags :
myModule.add_extra_compile_flags() my_module.add_extra_compile_flags()
# add the file to compile: # add the file to compile:
myModule.add_src_file([ my_module.add_src_file([
'egami/Image.cpp', 'egami/Image.cpp',
'egami/ImageMono.cpp', 'egami/ImageMono.cpp',
'egami/egami.cpp', 'egami/egami.cpp',
@ -22,22 +22,22 @@ def create(target):
'egami/wrapperBMP.cpp', 'egami/wrapperBMP.cpp',
'egami/wrapperEDF.cpp']) 'egami/wrapperEDF.cpp'])
myModule.add_header_file([ my_module.add_header_file([
'egami/Image.h', 'egami/Image.h',
'egami/ImageMono.h', 'egami/ImageMono.h',
'egami/egami.h', 'egami/egami.h',
]) ])
# name of the dependency # name of the dependency
myModule.add_module_depend(['etk', 'png', 'esvg', 'edtaa3']) my_module.add_module_depend(['etk', 'png', 'esvg', 'edtaa3'])
myModule.compile_flags('c++', [ my_module.compile_flags('c++', [
'-Wno-write-strings', '-Wno-write-strings',
'-Wall']) '-Wall'])
myModule.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
# add the currrent module at the # add the currrent module at the
return myModule return my_module