compile_project
Automatically detects and runs fpm build or make to compile Fortran projects based on their layout.
Instructions
Compiles the Fortran project. Automatically detects and runs 'fpm build' or 'make' depending on layout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | The path of the project. | |
| fortran_version | No | The Fortran standard version to enforce (e.g. 'f95', 'f2003', 'f2008', 'f2018', 'f2023'). Defaults to 'f2018'. | f2018 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |