Menu

#478 libsbml doesn't work with vckpg libraries

libSBML-5.18.0
open
nobody
None
2020-06-19
2020-06-18
No

libsbml uses it's own library finding code in cmake. If this were changed to to use the standard built-in cmake find_package(...) routines, it would work out of the box with vcpkg libraries. This would make building on windows a lot easier.

Discussion

  • Andy Somogyi

    Andy Somogyi - 2020-06-19

    It looks like on Windows, the libsbml cmake oriented to use the libsbml_dependencies zip file.

    A problem wiht this, is that all these dependency packages have made lots of performance and security updates and the libsbml_dependencies package is very old.

    If libsbml could use the packages in vckpg usign the standard cmake find_package commands, this would let you use all the new, updated packages directly, without having to maintian them in the libsbml_dependency

     
  • Frank Bergmann

    Frank Bergmann - 2020-06-19

    I've experimented with a libsbml vcpkg, unfortunately i had problems with the check library. Its been a while though, so something might have improved there, here the experiment:

    https://github.com/fbergmann/vcpkg

    In the end i decided to use conan rather than vcpkg, since vcpkg did not work as nicely on other platforms. (and i found vcpkg to work nice on windows with visual studio, but not as nice for other things). Maybe things have improved:

    https://github.com/fbergmann/conan-libsbml

    cheers
    Frank

     

Log in to post a comment.