Boost logo

Boost-Build :

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
user-config.jam file...
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:

ROOT
--- Project1
--- Project2
--- Project3
--- Project4
--- Project5
--- Project6
--- Project7

Each project has a jamfile like that :

*** Project1
project Project1 : requirements ....
<dependency>/Project2
<dependency>/Project3
<dependency>/Project4
<dependency>/Project5 ;

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
etc...

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.....

Thanks again

TEMPLIE Cédric

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:
>
> http://article.gmane.org/gmane.comp.lib.boost.build/7261
>
> so that I can look at performance problems? This will also allow me to
> tell
> why the warning is produced.
>
> - Volodya
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here
> <http://us.ard.yahoo.com/SIG=129ru7cb8/M=298184.5639630.6699735.3001176/D=groups/S=1707281907:HM/EXP=1103297896/A=2434971/R=0/SIG=11eeoolb0/*http://www.netflix.com/Default?mqso=60185400>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/jamboost/
>
> * To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
> <mailto:jamboost-unsubscribe_at_[hidden]?subject=Unsubscribe>
>
> * 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