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]View on GitHub#
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.
- compile()[source]View on GitHub#
Use meson to compile the project.
Use meson to compile the project.
- generate(expr)[source]View on GitHub#
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.