fortran-lang / fpm

Fortran Package Manager (fpm)
https://fpm.fortran-lang.org
MIT License
868 stars 97 forks source link

Option to ignore subdirectories and/or files #700

Open rouson opened 2 years ago

rouson commented 2 years ago

Description

When adding fpm to a project that already has one or more non-fpm build system(s) (e.g., ones based on make or cmake), not being able to tell fpm to ignore certain subdirectories and/or files means the involved files must be moved out of the locations where fpm attempts to build every file found. Any such directory/file moves are likely to necessitate changes to the other build system(s). Also, there's the social issue associated with having to ask for what sometimes feels like a big change to a project.

Possible Solution

Add a feature that gives users the ability to specify in the manifest that a certain subdirectory or file should be ignored. Being able to insert something like the following in a fpm.toml file might suffice:

[ignore]
src/ignore-me

Additional Information

No response

beddalumia commented 1 year ago

Any news on this?