##// END OF EJS Templates
Add basic Meson build support...
Add basic Meson build support This should ease building both FSW and unit tests. Meson has a better support for building both corss and native binaries at the same time.

File last commit:

r407:244510f22990 tip R3.3
r407:244510f22990 tip R3.3
Show More
meson.build
58 lines | 1.7 KiB | text/plain | TextLexer
Add basic Meson build support...
r407 fsw_inc = include_directories(
'../header',
'../header/lfr_common_headers',
'../header/processing',
'../LFR_basic-parameters',
'../src'
)
fsw_srcs = files(
'wf_handler.c',
'tc_handler.c',
'fsw_misc.c',
'fsw_init.c',
'fsw_globals.c',
'fsw_spacewire.c',
'tc_load_dump_parameters.c',
'tm_lfr_tc_exe.c',
'tc_acceptance.c',
'processing/fsw_processing.c',
'processing/avf0_prc0.c',
'processing/avf1_prc1.c',
'processing/avf2_prc2.c',
'lfr_cpu_usage_report.c'
)
fsw_extra_files = files(
'../header/wf_handler.h',
'../header/tc_handler.h',
'../header/grlib_regs.h',
'../header/fsw_misc.h',
'../header/fsw_init.h',
'../header/fsw_spacewire.h',
'../header/tc_load_dump_parameters.h',
'../header/tm_lfr_tc_exe.h',
'../header/tc_acceptance.h',
'../header/processing/fsw_processing.h',
'../header/processing/avf0_prc0.h',
'../header/processing/avf1_prc1.h',
'../header/processing/avf2_prc2.h',
'../header/fsw_params_wf_handler.h',
'../header/lfr_cpu_usage_report.h',
'../header/lfr_common_headers/ccsds_types.h',
'../header/lfr_common_headers/fsw_params.h',
'../header/lfr_common_headers/fsw_params_nb_bytes.h',
'../header/lfr_common_headers/fsw_params_processing.h',
'../header/lfr_common_headers/tm_byte_positions.h',
'../LFR_basic-parameters/basic_parameters.h',
'../LFR_basic-parameters/basic_parameters_params.h',
'../header/GscMemoryLPP.hpp'
)
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)
fsw = executable('fsw', fsw_srcs,
include_directories: fsw_inc,
dependencies:[lfr_bp_dep, m_dep],
extra_files: fsw_extra_files)