Boost logo

Boost-Build :

From: Andre Hentz (gclbb-jamboost_at_[hidden])
Date: 2003-05-19 21:10:41


On Mon, 19 May 2003, Vladimir Prus wrote:

> 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.
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.
3) path_features.py fails under cygwin/msvc (I think that
was reported before)
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)

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

boost.build/targets.jam:637:
in object(typed-target)@41.generate from module object(typed-target)@41
boost.build/targets.jam:396:
in generate-really from module object(main-target)@28
boost.build/targets.jam:367:
in object(main-target)@28.generate from module object(main-target)@28
boost.build/targets.jam:196:
in object(project-target)@12.generate from module
object(project-target)@12
boost.build/targets.jam:204:
in object(project-target)@13.generate from module
object(project-target)@13
boost.build/build-system.jam:150:
in load from module build-system
boost.build/modules.jam:219:
in import from module modules
boost.build/bootstrap.jam:41:
in boost-build from module

I'll do some debugging and create a test case. Let me know if you have any
clue since that may save me some time.

Best,

Andre Hentz

 


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