pyccel.codegen.build_generation.meson_gen module#
A module to handle everything related to meson for the pyccel make command.
- class pyccel.codegen.build_generation.meson_gen.MesonHandler(*args, **kwargs)[source]#
Bases:
BuildSystemHandlerA class providing the functionalities to handle a meson build system.
A class providing the functionalities to generate meson build system files and compile a meson project.
- Parameters:
*args – See BuildSystemHandler.
**kwargs – See BuildSystemHandler.
- generate(expr)[source]#
Generate all meson.build files necessary to describe the project.
Generate all meson.build files necessary to describe the project to meson. With these files it should be possible to compile the project using meson.
- Parameters:
expr (BuildProject) – A BuildProject object describing all necessary build information for the project.