Skip to content

Template Project depending on stdlib #215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MuellerSeb opened this issue Jul 2, 2020 · 8 comments
Closed

Template Project depending on stdlib #215

MuellerSeb opened this issue Jul 2, 2020 · 8 comments

Comments

@MuellerSeb
Copy link
Contributor

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?

@certik
Copy link
Member

certik commented Jul 2, 2020

@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.

@awvwgk
Copy link
Member

awvwgk commented Dec 29, 2020

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.

@awvwgk
Copy link
Member

awvwgk commented Jan 5, 2021

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.

@milancurcic
Copy link
Member

👍 for fortran-lang/stdlib-cmake-example.

@awvwgk
Copy link
Member

awvwgk commented Jan 5, 2021

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

@milancurcic
Copy link
Member

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

@jvdp1
Copy link
Member

jvdp1 commented Jan 5, 2021

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.

@milancurcic
Copy link
Member

milancurcic commented Jan 12, 2021

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

Thanks to @awvwgk for making it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants