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

Adding CMake build #7

Open
Nicholaswogan opened this issue Feb 5, 2022 · 2 comments
Open

Adding CMake build #7

Nicholaswogan opened this issue Feb 5, 2022 · 2 comments

Comments

@Nicholaswogan
Copy link

Nicholaswogan commented Feb 5, 2022

Lots of fortraners use CMake. Would you consider adding a cmake build system?

@yizhang-yiz
Copy link
Owner

Thanks for the tip @Nicholaswogan . I can add it some time in the future but it's not at the top of the list.

@yizhang-yiz yizhang-yiz changed the title Considering adding CMake build? Adding CMake build Feb 5, 2022
@awvwgk
Copy link
Contributor

awvwgk commented Feb 7, 2022

CMake projects can safely find installed meson projects, which export a pkg-config file. In principle meson can also generate a config file, which allows CMake projects to find a meson project without having to handle the pkg-config search themselves. If there is interest I can contribute a meson snippet for this purpose.

However, there is of course some “community pressure” to always support CMake as build system well. I have gave in to this and support three build systems in all my projects and so far the CMake one is making the most effort to maintain. Further, I haven't found situations yet where CMake was actually superior to meson (mainly based on experience of packaging for conda-forge).

Just my 2c.

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

3 participants