[DEV] update next lutin version

This commit is contained in:
Edouard DUPIN 2015-09-24 21:44:04 +02:00
parent e5b2b38fd8
commit b6111d1317

View File

@ -9,21 +9,21 @@ def get_desc():
def create(target):
# module name is 'edn' and type binary.
myModule = module.Module(__file__, 'date', 'LIBRARY')
my_module = module.Module(__file__, 'date', 'LIBRARY')
# add the file to compile:
myModule.add_src_file([
my_module.add_src_file([
'date/date.cpp'
])
myModule.add_header_file([
my_module.add_header_file([
'date/date.h'
])
now = datetime.datetime.now()
myModule.compile_flags('c++', [
my_module.compile_flags('c++', [
'-Wno-write-strings',
'-Wall',
"-DBUILD_DAY=\""+str(now.day)+"\"",
@ -33,9 +33,9 @@ def create(target):
"-DBUILD_MINUTE=\""+str(now.minute)+"\"",
"-DBUILD_SECOND=\""+str(now.second)+"\""])
myModule.add_path(tools.get_current_path(__file__))
my_module.add_path(tools.get_current_path(__file__))
# add the currrent module at the
return myModule
return my_module