A dump of the model in a standard format was a missing component for more powerful plugins in general. Was just looking at how complete fpm build --dump $FILENAME
is, as if everything is there it seems like a natural to make a “fpm-generate” plugin that at least makes a gmake(1) input file.
I am looking for something that already exists that reads the dump file in and uses it; as if that exists it is half-done.
An alternative not mentioned above is to use fpm to make a single-file distribution, which basically eliminates the need for a build system if all the files are free-format. That might be an option for the OP as well, particularly if C/C++ files are not involved.
I find people are generally willing to install the single-file fpm.F90 file as it just requires a Fortran compiler; and then use fpm to install projects; or have fpm already – that is a good development; but I do not see the need for a make/Cmake build setup as well.
A project using registered packages and external dependencies seems like it might be problematic.
Seems like I am missing something, as the model dump seems like a big step forward but so far I do not see anything using it (?).
So not sure where I stand on actually producing the backend as still sorting out just where it stands. If anyone already has something reading the dump, has more info on the dump, or is working on this already I would be interesting in hearing about it, as there are a few other possible plugins I have interest in, and once one using the dump file exists I think others could leverage that.
So definitely will scope it out, not sure where that will lead though.