Hi

I have found the answer myself, actually it is not possible to implement 
something generic as it is for C functions. My solution is to use as template 
what is done for C functions and adapt that to my needs.

On Saturday 01 September 2012 21:13:10 Markus Blatt wrote:
> As long as it is not a member function check_function_exists should
> suffice.

This will work only if your C++ code uses C functions.

> Otherwise you might want to look at check_cxx_symbol_exists, which
> also can check for a function.

Is not the same thing, check_cxx_symbol_exists checks for symbol existence 
in the given header, while check_function_exists checks for function existence 
in the given library (or in the default one)

regards
-- 
Bogdan
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to