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 desirable #15

Closed
gdamore opened this issue Jul 26, 2017 · 4 comments
Closed

CMake support desirable #15

gdamore opened this issue Jul 26, 2017 · 4 comments

Comments

@gdamore
Copy link

gdamore commented Jul 26, 2017

When integrating the API into other projects, it would be quite nice to be able to integrate them with CMake. Having this project deliver a CMake file, and use of CMake, may solve other challenges that the project has as well (like detecting platforms, compiler options, etc. etc.)

@joseph-henry
Copy link
Contributor

I'm open to this. I don't personally use CMake that often but I think it would be nice to do. I'll look into this in a few weeks unless you get to it before I do.

@gdamore
Copy link
Author

gdamore commented Jul 26, 2017

Ok, maybe I'll take a swing at it. It probably will take some time.

@joseph-henry
Copy link
Contributor

joseph-henry commented Feb 12, 2018

We've transitioned fully to CMake for this project. To build all targets use:

git submodule init
git submodule update
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=DEBUG
cmake --build build

The output will be located in bin/lib. Ignore all products except libzt.so, libzt.dylib, and libzt.a.

@gdamore
Copy link
Author

gdamore commented Feb 12, 2018 via email

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

No branches or pull requests

2 participants