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

CMake Support #41

Open
ghost opened this issue Jun 16, 2019 · 5 comments
Open

CMake Support #41

ghost opened this issue Jun 16, 2019 · 5 comments
Milestone

Comments

@ghost
Copy link

ghost commented Jun 16, 2019

Would it make sense to incorporate John Galbraith's CMake support straight here in the main repository?

https://github.com/JohnGalbraith/mettle/blob/master/CMakeLists.txt
https://github.com/JohnGalbraith/mettle/blob/master/cmake/FindMettle.cmake

@jimporter
Copy link
Owner

Sorry, but no. The reason I made mettle's current build system (bfg9000) in the first place is because I dislike CMake enough that I'd rather write my own build system than use it. :)

I do want to make it easier for people to use mettle without having to (directly) install bfg9000 though. I'm hoping to have some time this summer to make .deb packages for mettle as well as putting it on the Conan package manager. Then people would be able to get a compiled version of mettle without all the extra steps.

@ghost
Copy link
Author

ghost commented Jun 16, 2019

I dislike CMake enough that I'd rather write my own build system than use it.

CMake is cool. But I can understand you. :-)

Debian package would be great.

@jimporter
Copy link
Owner

I filed #43 to track making a Debian package. I'm most of the way done, and if you want to live on the bleeding edge, you can try using mettle from my testing PPA: https://launchpad.net/~jimporter/+archive/ubuntu/testing. (Note that at the time of this post, I've only verified that it builds a .deb, not that the resulting .deb actually works. I'll do that over the next day or so...)

@jimporter
Copy link
Owner

Reopening this. I think there's probably some value in a minimal CMakeLists.txt. I don't want it to support everything that build.bfg does since that'd just be more maintenance burden, but something simple like "build mettle and libmettle.so and then install everything into the appropriate place" would probably be enough to make most people happy.

@jimporter jimporter reopened this Aug 29, 2020
@jimporter jimporter added this to the 0.2 milestone Aug 29, 2020
@jimporter
Copy link
Owner

@JohnGalbraith Do you mind if I adapt your CMakeLists.txt to include in this repo? It looks like you've already worked out most of the issues, so it seems a waste to do it all again from scratch.

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

1 participant