Version 1 (modified by 14 years ago) ( diff ) | ,
---|
CMake Macro Reference: boost_additional_test_dependencies
The boost_additional_test_dependencies
macro adds additional include directories based on the dependencies of the library being tested 'libname' and all of its dependencies.
boost_additional_test_dependencies(libname BOOST_DEPENDS libdepend1 libdepend2 ...)
libname
is the name of the boost library being tested. (signals)
There is mandatory argument to the macro:
BOOST_DEPENDS
: The list of the extra boost libraries that the test suite will
depend on. You do NOT have to list those libraries already listed by the
module.cmake file as these will be used.
Example
The following invocation of the boost_additional_test_dependencies
macro is taken from the signals library.
boost_additional_test_dependencies(signals BOOST_DEPENDS test optional)
Where Defined
This macro is defined in the Boost Testing module in [http://svn.boost.org/svn/boost/trunk/tools/build/CMake/BoostTesting.cmake