Boost logo

Boost-Build :

Subject: Re: [Boost-build] Unit tests and manifests generation (msvc)
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-04-27 02:49:50


On Monday, April 18, 2011 13:31:26 Samuel Debionne wrote:
> Hi all,
> In my latest unit tests I need to generate and embed a manifest that
> declare the OpenMP runtime dependant assembly (so that it is
> successfully found in the side by side assembly directory). The
> dependancy is declared in msvc "omp.h" header with a pragma directive :
>
> #pragma comment(linker,"/manifestdependency...
>
> It seems that unit-test targets do not generate/embed manifests (while
> exe targets do). Am I missing something ?

They should. Can you try something like:

        exe a : a.cpp ;
        unit-test a-unit-test : a ;

to make sure manifest creation is not skipped for some reason unrelated to unit-test?

Thanks,

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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