lutin/test/test-c/lutin_test-c.py

21 lines
364 B
Python
Raw Normal View History

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():
return "Test C compilation"
2015-10-22 21:01:35 +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