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

Version fpm.toml files #855

Open
certik opened this issue Mar 16, 2023 · 0 comments
Open

Version fpm.toml files #855

certik opened this issue Mar 16, 2023 · 0 comments

Comments

@certik
Copy link
Member

certik commented Mar 16, 2023

Just like cmake, we should add an optional toml section with the minimal fpm version required. So when you use some new fpm feature, such as #854, you set the required fpm version appropriately. If the same project gets build with an older fpm version, it will refuse to build it, saying you have to use a newer fpm version.

Some packages, like toml-f might require to work with older versions of fpm, which means that they cannot use many newer features (for a while). Some other packages are ok with requiring a newer fpm version, in which case they can use newer features.

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

No branches or pull requests

1 participant