[CMake] How to build and reference dlopen-able libraries?
Hendrik Sattler
post at hendrik-sattler.de
Sat Sep 6 03:58:47 EDT 2014
On 6. September 2014 05:49:44 MESZ, J Decker <d3ck0r at gmail.com> wrote:
>you'll need separate includes for dlopen thing, because you'll need the
>functions declares are pointers...
Not really
>void (*f)( void );
>or typedefed as functions
>typedef void (*some_function_type)( void );
>some_function_type f;
Usually, for dlopen usage, these function pointers are defined by the using application, not by the library. You can dlopen any (C) library and none of them provides those function pointers or typedefs like you purpose.
HS
More information about the CMake
mailing list