when building with test-coverage on, gcov is now linked in and asserts are disabled

This commit is contained in:
Arvid Norberg 2008-07-30 06:43:01 +00:00
parent a8562a9f19
commit 3500fe3be4
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ rule linking ( properties * )
&& ( <toolset>gcc in $(properties)
|| <toolset>darwin in $(properties) )
{
result += <cxxflags>-fprofile-arcs <cxxflags>-ftest-coverage ;
result += <cxxflags>-fprofile-arcs <cxxflags>-ftest-coverage
<linkflags>-lgcov <define>NDEBUG ;
}
# clock_gettime on linux requires librt