embotech / ecos

A lightweight conic solver for second-order cone programming.
GNU General Public License v3.0
478 stars 123 forks source link

Add CMake Integration #188

Closed EmbersArc closed 4 years ago

EmbersArc commented 4 years ago

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 Reviewable

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 0.0% when pulling 1534a670491a0c747f2d19ae8813e660b1c06ad3 on EmbersArc:cmake_integration into 40e26efa371dd85b95bacc4ee825da80fa11a200 on embotech:develop.

EmbersArc commented 4 years ago

I added support for installation which will be important to add a Conan package for ECOS.

EmbersArc commented 4 years ago

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.