Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-12 16:09:42


"Arkadiy Vertleyb" <vertleyb_at_[hidden]> writes:

> Hi All,
>
> Is it possible to use "run" or "link" test types in combination with more
> than one source (I need this for ODR testing)?

Yes.

  run source1.cpp source2.cpp ... ;
  link source1.cpp source2.cpp ... ;

The exact signatures are:

  rule run ( sources + : args * : input-files * : requirements * : name ? : default-build * : args2 * )
  link ( sources + : requirements * : name ? )

So you can control the test name if you don't want it to be the same
as the first source.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk