[CMake] CMake and portable dynamic library loading?
Alexandre Courbot
gnurou at gmail.com
Sat Sep 30 10:38:53 EDT 2006
Hello everyone,
I'm trying to port a project from autotools to cmake. This project
relies on dynamic library loading to allow the user to select between
several backends for gfx rendering. WIth autotools, the obvious choice
was to use libtool and libltdl, which worked fine so far.
However, as far as I know, cmake doesn't provide a portable way to
dynamically load libraries. And it seems difficult to me to continue
using libtool from cmake, since that would mean writing special
commands to link dynamically-loaded libraries with libtool.
Would someone have a suggestion to solve this issue? How do you guys
manage to dynamically load libraries on a cmake-based project?
Thanks for any reply,
Alex.
More information about the CMake
mailing list