-
Notifications
You must be signed in to change notification settings - Fork 185
Using stdlib in meson #287
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
Comments
I don't know of any plans for this. I'm not too familiar with pkg-config files so I don't use them regularly. It would be helpful for people who use them to post here and express that this is a desired feature. But even if it's useful for only you, I'd say just go ahead because something like this increases ease of use without adding complexity for the end-user. |
I used One downside in case of Fortran is that the link flags might be compiler specific (in C this is less of a problem as |
This is working now just fine with meson. Therefore I will close this issue as resolved. |
Using stdlib is currently only possible with CMake by inclusion as subproject or by systemwide installation (either
/usr
or/usr/local
prefix). The first approach excludes certain CMake setups and other build systems like meson, while the latter is not acceptable in case several compilers are used for development.An usual approach to install packages in a local prefix is exporting CMake package files or pkg-config files, the latter makes the project discoverable by most non-CMake build systems.
Are there plans in the short-term to allow exporting of package files to make stdlib accessible for other projects?
The text was updated successfully, but these errors were encountered: