Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-20 05:43:20


Hi Andre,

Thanks for checking out preview 2!

> > As with the first preview, I'd appreciate if a few persons try it out and
> > report immediate problems. If nothing serious turns out, I'll make a
> > final release.
>
> A few unimportant things:
> 1) I had to 'chmod +x build.bat' in order to build the NT
> bjam under cygwin.

I don't fully understand how bits are set in cygwin. The final M3 release will
have 'x' bit set in tar file --- just tweaked the disto roller. Is that
enough?

> 2) project_test3 was failing because I had CL in my path
> and a warning was issued. Since stdout was changed, diff failed. Perhaps
> the warning could go to stderr.

We'll do something about it.

> 3) path_features.py fails under cygwin/msvc (I think that
> was reported before)

Yep, I think Dave was going to take a look.

> 4) for my own projects, I had to add 'import .... ;'. It
> didn't use to be required (and I was lazy enough to omit them)

You're right. The "import" semantics became stricter, but I classified it as
"internal changes" and did not announce it :-)

> On to a more important problem. One of my projects use a Windows
> Resource file and I had written a rc.jam that used to work and does not
> anymore. It looks like this:
>
> #### start of (trimmed) rc.jam
> type.register RC : rc ;
>
> rule resource-compile ( target : sources * : properties * )
> {
> # do some checking and call resource-compile-nt
> }
>
> actions quietly resource-compile-nt
> {
> rc /i "$(>:D)" /fo "$(<)" "$(>)"
> }
>
> generators.register-standard rc.resource-compile : RC : OBJ ;
> #### end of (trimmed) rc.jam
>
> In the Jamfile, I include rc.jam and list a .rc file as a source. When I
> try to build I get:
>
> /boost.build/targets.jam:725:
> in check-for-unused-sources from module object(typed-target)@41
>
> warning: Unused source myFile.rc in main target myProject

Is the warning correct? I mean, is resource compiler run, or not? I'm not
aware of any changes that would stop it from being run, so a test case would
be very desirable.

I'll try to reproduce using the part you've given, but can only try in a 3-4
hours.

Thanks,
Volodya

 


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