[CMake] CMake and portable dynamic library loading?
William A. Hoffman
billlist at nycap.rr.com
Sun Oct 1 09:51:29 EDT 2006
At 03:00 AM 10/1/2006, Andrey Rahmatullin wrote:
>On Sat, Sep 30, 2006 at 08:34:58AM -0700, Alan W. Irwin wrote:
>> However, libltdl does not solve the issue of how to dynamically load
>> plug-ins on windows systems.
>SIM always used libltdl on all platforms without problems (until we
>switched to QLibrary).
There is a class in the source code for CMake: Source/kwsys/DynamicLoader.cxx
that will load plugins on windows and unix.
The code can be found here:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/kwsys/DynamicLoader.cxx?rev=1.14&root=CMake&view=auto
-Bill
More information about the CMake
mailing list