Skip to content
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

Export package files #291

Merged
merged 3 commits into from
Jan 18, 2021
Merged

Conversation

awvwgk
Copy link
Member

@awvwgk awvwgk commented Jan 7, 2021

Part 3/3 for #287, status: required.

Changes:

  • set project version (just 0 as dummy) and project description in CMake (required to generate a valid pc-file)
  • export CMake package fortran_lang-config.cmake for CMake projects
  • export pkg-config file fortran_lang.pc for non-CMake projects

Important: This PR defines a version number for stdlib. This should be considered carefully (see #292).

@awvwgk
Copy link
Member Author

awvwgk commented Jan 7, 2021

Tested this by integrating a local installation of stdlib with make via pc-file and with meson via CMake package.

@awvwgk awvwgk mentioned this pull request Jan 7, 2021
@awvwgk awvwgk force-pushed the export-package-files branch from f9b22bb to 08bb980 Compare January 11, 2021 16:29
- set project version (just 0 as dummy) and project description in CMake
- export CMake package fortran_lang-config.cmake for CMake projects
- export pkg-config file fortran_lang.pc for non-CMake projects
@awvwgk awvwgk force-pushed the export-package-files branch from 08bb980 to 26a1311 Compare January 15, 2021 19:28
Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am far to be an expert in CMake. So, I approve the principle described in the README

Co-authored-by: Jeremie Vandenplas <[email protected]>
@jvdp1
Copy link
Member

jvdp1 commented Jan 18, 2021

@milancurcic approved thi PR. I 'll merge it.

@jvdp1 jvdp1 merged commit d7746e2 into fortran-lang:master Jan 18, 2021
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

Successfully merging this pull request may close these issues.

3 participants