Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » CMake installation of 3rd party libs
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
totte_karlsson


Posts: 11
Registered:
March 2012
CMake installation of 3rd party libs 14 May '12 15:17 Go to previous message

Hi,
I'm setting up a CMake project that links to an 'installed' libsbml distro.

When I setup my CMake project, there is one question the user have to answer, in the CMake UI, which is the install folder for Libsbml. Using that info, the system get access to headers, libsbml link lib and the dll if building a shared version, + 3rd party dll's. However, the third party link libs, e.g. libxml2 are not installed by libsbml's CMake. Should it not be?

Anything linking to libsbml's lib, will also need to link to the same 3rdpary shared (not if linked static) libs that libsbml itself was linked to, when built.

Right now, I need to manually copy these link libs to the install location of libsbml, and I would rather not. Copying files around manually always end up in problems.. make sense?

Also, it makes it hard to distribute a CMake project linking to libsbml since you have to motivate an end user to copy files around. But maybe I'm missing something...?

Best Regards
Totte

      

SubjectPosterDate
Read Message   CMake installation of 3rd party libs  totte_karlsson14 May '12 15:17
Read Message   Re: CMake installation of 3rd party libs fbergman14 May '12 23:09
Read Message   Re: CMake installation of 3rd party libs totte_karlsson15 May '12 13:14
Read Message   Re: CMake installation of 3rd party libs fbergman15 May '12 22:46
Read Message   Re: CMake installation of 3rd party libs totte_karlsson16 May '12 11:03
Previous Topic:Customizing installation
Next Topic:Trouble with linux install of SBML toolbox and libsbml
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.