Boost logo

Boost-Build :

Subject: [Boost-build] feature detection
From: alainm (alain.miniussi_at_[hidden])
Date: 2016-10-25 04:19:28


Hi,

Assuming I found the b2 documentation
(http://www.boost.org/build/doc/html/) I did not find how to implement
automatic feature detection.
What I need is something like CMake's check_function_exists or
try_compile and, based on the answer, be able to set a macro definition.

Right now, it seems that stuff like BOOST_NO_CXX11_DELETED_FUNCTIONS is
defined manually in MPI.config header files which is not really a real
world option.

Thanks

Alain


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk