Boost logo

Boost-Build :

Subject: Re: [Boost-build] force install before building sub-dir
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2011-04-19 06:56:10

Andrej van der Zee wrote:

> For libraries that works for me indeed, but for a dependency on an
> install-command I cannot get this to work. The is the install command
> is:
> install $(INSTALL_PATH)/etc : pcap-http-cfg.xsd ;
> Here pcap-http-cfg.xsd is just a file that is copied to the install
> So what is the "name-of-metatarget-in-that-dir" I can refer this file
> to in the dependency?
> Thank you,
> Andrej

In that case, try this:

install $(INSTALL_PATH)/etc : pcap-http-cfg.xsd ;
alias install-pcap-http-cfg : $(INSTALL_PATH)/etc ;

obj something : thing.cpp : <dependency>that-dir//install-pcap-http-cfg ;


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at