-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add CMake Integration #188
Conversation
I added support for installation which will be important to add a Conan package for ECOS. |
Correct version number
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, CMake integration is always nice!
I have tried this out and it worked fine on macOS (Catalina) and Linux (Debian unstable). I've added comments for the things that'd need to change for Windows support. If you like, you can fix that, otherwise please add a comment at the top of the file saying this currently does not support builds on Windows. We could make a followup issue to add support in that case.
Thanks for checking it on Windows as well, I completely forgot to consider the differences. I made the changes you suggested and it should work now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've retested things on all three platforms and found no issues. Thanks again for the added functionality!
This will make it easier to use ECOS in CMake projects e.g. in the Epigraph library. The current process is not very elegant and difficult to use cross-platform.
This change is