[CMake] Loading Plugins

Aaron Boxer boxerab at gmail.com
Fri Oct 31 14:20:00 EDT 2014


Hello!

I have a C CMake project, and I would like to add the following feature:

1) define an interface for a second dynamic library
2) look in a specified folder at runtime, and try to load this library
3) if loading fails, then get notified of this fact, so that I can use
statically linked fall-back routines in the parent project.

Is this possible?  Any ideas or advice would be greatly appreciated.

Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141031/3ad18ff9/attachment.html>


More information about the CMake mailing list