Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user-defined-flags to fortran in toml #1097

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

connoraird
Copy link

A possible solution to issue 1096.

Description

I have added a new option/line under [fortran] for fpm.toml files such that we can now add

name = "some-project"

[fortran]
user-defined-flags = "<some-flag>"

These user-defined-flags are then directly passed through to the fortran compiler. Therefore, the compiler handles displaying errors with provided flags.

Testing

I have added this new fpm.toml option to some existing tests but I am not certain this is fully testing the new feature. Any input would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant