GSoC 22: fpm-ize the Fortran Ecosystem || Blog Post by Arteev Raina || #8

Good Day Everyone,

Last week I worked on the fpm project adding the following features related to macros defined under the preprocess section of the manifest file of the fpm project :

  • Parse and set the macro flags from the manifest file so that user does not have to manually define those macros in the command line for preprocessing.

  • Added the ability to reuse version information defined in the manifest file while defining the macros like this :

[preprocess]
[preprocess.cpp]
macros=["TESTMACRO={version}"]

The Pull Request for this feature has been created over here.

This week, I am planning to address any changes in this Pull Request if required and also start with drawing out a plan for adding support for non-native preprocessors like fypp in the fpm.

Thanks & Regards,
Arteev Raina

2 Likes