| Author | Topic |
Posts: 11
Registered: March 2012
|
|
CMake installation of 3rd party libs
|
14 May '12 15:17
|
 |
|
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
|
|
|