Re: [CMake] Check for C++ functions existence

2012-09-02 Thread Markus Blatt
On Sat, Sep 01, 2012 at 09:25:40PM +0200, Bogdan Cristea wrote: > > 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

Re: [CMake] Check for C++ functions existence

2012-09-01 Thread Bogdan Cristea
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

Re: [CMake] Check for C++ functions existence

2012-09-01 Thread Markus Blatt
Hi, On Fri, Aug 31, 2012 at 12:00:35PM -0700, Bogdan Cristea wrote: > Is there an equivalent for CHECK_FUNCTION_EXISTS in order to check for C++ > function existence. As long as it is not a member function check_function_exists should suffice. Otherwise you might want to look at check_cxx_symbol

[CMake] Check for C++ functions existence

2012-08-31 Thread Bogdan Cristea
Is there an equivalent for CHECK_FUNCTION_EXISTS in order to check for C++ function existence. 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://w