76 lines
1.7 KiB
Python
76 lines
1.7 KiB
Python
#!/usr/bin/python
|
|
import realog.debug as debug
|
|
import lutin.tools as tools
|
|
import os
|
|
|
|
def get_type():
|
|
return "LIBRARY"
|
|
|
|
def get_desc():
|
|
return "boost:boost-unit-test-framework library"
|
|
|
|
#def get_licence():
|
|
# return "UNKNOW"
|
|
|
|
def get_compagny_type():
|
|
return "org"
|
|
|
|
def get_compagny_name():
|
|
return "boost"
|
|
|
|
#def get_maintainer():
|
|
# return "UNKNOW"
|
|
|
|
def get_version():
|
|
return "version.txt"
|
|
|
|
def configure(target, my_module):
|
|
my_module.add_src_file([
|
|
'boost/libs/test/src/compiler_log_formatter.cpp',
|
|
'boost/libs/test/src/decorator.cpp',
|
|
'boost/libs/test/src/framework.cpp',
|
|
'boost/libs/test/src/plain_report_formatter.cpp',
|
|
'boost/libs/test/src/progress_monitor.cpp',
|
|
'boost/libs/test/src/results_collector.cpp',
|
|
'boost/libs/test/src/results_reporter.cpp',
|
|
'boost/libs/test/src/test_framework_init_observer.cpp',
|
|
'boost/libs/test/src/test_tools.cpp',
|
|
'boost/libs/test/src/test_tree.cpp',
|
|
'boost/libs/test/src/unit_test_log.cpp',
|
|
'boost/libs/test/src/unit_test_main.cpp',
|
|
'boost/libs/test/src/unit_test_monitor.cpp',
|
|
'boost/libs/test/src/unit_test_parameters.cpp',
|
|
'boost/libs/test/src/junit_log_formatter.cpp',
|
|
'boost/libs/test/src/xml_log_formatter.cpp',
|
|
'boost/libs/test/src/xml_report_formatter.cpp',
|
|
])
|
|
|
|
my_module.add_flag('c++', [
|
|
'-DBOOST_ALL_NO_LIB=1',
|
|
'-DBOOST_TEST_DYN_LINK=1',
|
|
'-DNDEBUG',
|
|
])
|
|
|
|
|
|
my_module.add_flag('c', [
|
|
'-fvisibility-inlines-hidden',
|
|
'-finline-functions',
|
|
'-Wno-inline',
|
|
'-Wall',
|
|
'-fvisibility=hidden',
|
|
'-Wno-variadic-macros',
|
|
])
|
|
|
|
|
|
my_module.compile_version('c++', 2011)
|
|
my_module.add_depend([
|
|
'z',
|
|
'm',
|
|
'cxx',
|
|
'boost-include',
|
|
'pthread',
|
|
])
|
|
return True
|
|
|
|
|