2015-10-22 21:01:35 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutin.tools as tools
|
|
|
|
import lutin.debug as debug
|
|
|
|
import os
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
|
|
|
|
|
|
|
def get_desc():
|
2016-10-04 21:08:06 +02:00
|
|
|
return "Test C compilation"
|
2015-10-22 21:01:35 +02:00
|
|
|
|
2016-10-04 21:08:06 +02:00
|
|
|
def configure(target, my_module):
|
2016-10-28 00:08:46 +02:00
|
|
|
my_module.add_extra_flags()
|
2015-10-22 21:01:35 +02:00
|
|
|
my_module.add_src_file([
|
|
|
|
'test.c'
|
|
|
|
])
|
2016-10-28 00:08:46 +02:00
|
|
|
if "Android" in target.get_type():
|
2015-10-22 21:01:35 +02:00
|
|
|
my_module.compile_version("c", 1999)
|
|
|
|
return my_module
|
|
|
|
|