[DEV] update build to support configure instead of create in module ==> permit to get back the version ... order issue

This commit is contained in:
2016-10-04 21:08:06 +02:00
parent fb4b03a441
commit b6a5f7e539
4 changed files with 54 additions and 24 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
import os
@@ -8,10 +7,9 @@ def get_type():
return "BINARY"
def get_desc():
return "Text C compilation"
return "Test C compilation"
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_extra_compile_flags()
my_module.add_src_file([
'test.c'