[CMake] Check for C++ functions existence

Markus Blatt markus at dr-blatt.de
Sat Sep 1 15:13:10 EDT 2012


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_exists, which
also can check for a function.

Cheers,

Markus

-- 
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany,  USt-Id: DE279960836


More information about the CMake mailing list