From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2004-12-16 10:53:40
The only thing I change in the boost build setup is in my
I uncomment msvc, STLport and QT, that's all....
I think that the fact that warnings are displayed many many times, it
takes a lot of time. I found the display message in targets.jam, and
only comment it, know it takes less time to start the compilation ;)
My config is like that:
Each project has a jamfile like that :
project Project1 : requirements ....
my_sources = ... ;
my_headers = ... ;
lib my_lyb : $(my_sources) ;
alias export_files : export_headers export_lib ;
stage export_headers : $(my_headers) : <location>$(MY_HEADERS_LOCATION) ;
stage export_lib : my_lib : <location>$(MY_LIB_LOCATION) ;
The warning is like that:
warning: targets produced from export_headers are link incompatible
warning: with main target my_lib
The Project1 depends on Projects2/3/4/5
The Project2 depends on Projects4/5/7
and I have about 20 projects....
So you can easily understand the number of warnings.....
As I understood warning tell that export_headers and my_lib are 2
differents target... this is the case, but what I want is to introduce a
dependency between my_lib and export_headers.... that is why I use
alias, I thought that it helped me to introduce the dependency, but no.....
Vladimir Prus wrote:
> On Thursday 16 December 2004 18:17, TEMPLIE Cédric wrote:
> > I used <dependency> requirements a lot of time in my build system, but
> > introduce this requirements also display a warning message:
> > warning: targets produced from export_headers are link incompatible
> > warning: with main target su_thread
> > First of all, is-it a big mistake for my build system ?
> No, it's because Boost.Build is too smart. This message most likely is
> harmless. Without seeing your setup, I can't guess why it's emitted.
> > If the message was print only once, I did not need something, but the
> > problem is that this message is displayed during approximatively 2
> > minutes before real build start.... Indeed this is because I have a lot
> > of projects to build.
> Wow! Can you sent me your Boost.Build setup, as documented at:
> so that I can look at performance problems? This will also allow me to
> why the warning is produced.
> - Volodya
> *Yahoo! Groups Sponsor*
> click here
> *Yahoo! Groups Links*
> * To visit your group on the web, go to:
> * To unsubscribe from this group, send an email to:
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
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