Stdlib: Template Project depending on stdlib

Created on 2 Jul 2020  路  8Comments  路  Source: fortran-lang/stdlib

My question from FortranCon:

It would be nice to provide a template for a Fortran package/project that depends on the stdlib, so that it is low-threshold for new users to adopt to your implementations. This could also automatically integrate fpm.
What do you think? Or is there already such a template?

Most helpful comment

I created a template project using stdlib in CMake at https://github.com/awvwgk/stdlib-cmake-example, if there is interest I can transfer it to the @fortran-lang organization.

All 8 comments

@MuellerSeb thanks for the idea. I think we'll provide an example with fpm. We first have to get fpm working with stdlib. Then to use it would be just adding stdlib to your dependencies.

I just tried to use stdlib as subproject in CMake and it is in fact currently impossible. I collected a patch for this in #284.

I created a template project using stdlib in CMake at https://github.com/awvwgk/stdlib-cmake-example, if there is interest I can transfer it to the @fortran-lang organization.

:+1: for fortran-lang/stdlib-cmake-example.

Looks like I cannot transfer the repo because I'm missing permissions in fortran-lang.

Okay, that will be easy to fix, but let's wait to hear from @certik @jvdp1 @ivan-pi @everythingfunctional and any others.

Thank you @awvwgk fr this proposition.
I think it is a good idea to move this in fortran-lang. When fpm will be ready to use stdlib, it will give a complete view on how to integrate easily stdlib with different tools. Some comments in the README of stdlib should be then probably added to point the users to this example.

With no objections, stdlib-cmake-example has moved to fortran-lang/stdlib-cmake-example.

Thanks to @awvwgk for making it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leonfoks picture leonfoks  路  9Comments

certik picture certik  路  8Comments

zbeekman picture zbeekman  路  6Comments

MuellerSeb picture MuellerSeb  路  5Comments

waynelapierre picture waynelapierre  路  8Comments