« Return to Thread: How to specify dependencies that aren't included in the target

Re: How to specify dependencies that aren't included in the target

by Anatoly Shirokov :: Rate this Message:

Reply to Author | View in Thread

Hi Paul!

In such cases I use <dependency>:

exe target : ... : <dependency>some_script.sh ;

Paul Fox:

> I am using a linking script to link the project I am working on, and
> therefore need the script to be a dependency of the target (in order
> to generate it via some custom scripts at each build). However, it
> will not be included in the target, and boost-build does not, to my
> knowledge, know what to do with it. How to I make it a dependency of
> the final target without boost-build trying to include it in the target.
>
> Thank you in advance for your help,
>
> Paul
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>  
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: How to specify dependencies that aren't included in the target