open-simulation-platform / libcosimc

OSP C co-simulation API
Mozilla Public License 2.0
12 stars 2 forks source link

Upgrade to Conan 2 #55

Closed kyllingstad closed 5 months ago

kyllingstad commented 9 months ago

Fixes #54.

This depends on open-simulation-platform/libcosim#747. (Once that PR has been merged, the version specification of the libcosim requirement should be changed so it no longer points to the osp/testing-feature... branch.)

I've added shared and fPIC options, which seem to be rather standard for library packages these days. (Previously, we only built the shared library version.)

kyllingstad commented 6 months ago

I got some build errors related to Boost.Fibers that I couldn't quite figure out, so rather than try to fix them, I simply removed the explicit dependency on Boost. Libcosim no longer uses Boost.Fibers, and everything we used it for here could be done with stdlib functionality from <future>, so I think this is a net win.

Note that there is still an implicit dependency on Boost, and this PR depends on open-simulation-platform/libcosim#753, which should be merged first.