compile_project
Automatically compiles Fortran projects by detecting the project layout and running 'fpm build' or 'make'.
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 |