fpm
fpm copied to clipboard
feat: ability to read project major, minor & patch macros
This Pull Request adds the ability to read the PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR & PROJECT_VERSION_PATCH and add them as macros.
Discussed here : https://github.com/fortran-lang/stdlib/pull/675#discussion_r979434567
cc: @awvwgk @jvdp1
It's strange that I pushed a commit in https://github.com/arteevraina/fpm/tree/read-version-macros branch and still this PR does not shows that commit. It's actually the same branch :confused: