|
Boost Interest : |
Subject: Re: [Boost-cmake] CMake modularization update
From: Doug Gregor (doug.gregor_at_[hidden])
Date: 2008-11-02 08:46:47
On Sat, Nov 1, 2008 at 4:57 PM, Michael Jackson
<mike.jackson_at_[hidden]> wrote:
> OK I think I got it figured out. I added a new function
> boost_additional_test_dependencies() that takes the name of the library that
> is being tested in addition to a BOOST_DEPENDS optional arguments which you
> list the other libraries (such as test) that the test will need. So for
> libs/spirit/test/CMakeLists.txt I have:
>
> boost_additional_test_dependencies(spirit BOOST_DEPENDS test)
>
> which needs to go BEFORE any of the boost_test_* methods are used. The
> function is located in BoostTesting.cmake
That looks perfect. Thank you!
- Doug