open-simulation-platform / cosim-cli

Command-line interface for libcosim
https://open-simulation-platform.github.io/cosim
Mozilla Public License 2.0
10 stars 4 forks source link

Upgrade to Conan 2 #109

Closed kyllingstad closed 6 months ago

kyllingstad commented 9 months ago

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 had to switch from a simple conanfile.txt to a more involved conanfile.py because the "import" functionality has been removed in Conan 2. Initially this seemed like a hassle, but in the end, it turned out to be beneficial:

kyllingstad commented 6 months ago

I've just updated this PR a bit to enable the use of CMake presets created by Conan, which is really convenient. I've updated the README and CI workflow accordingly.