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) 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:

in check-for-unused-sources from module object(typed-target)@41

warning: Unused source myFile.rc in main target myProject
in object(typed-target)@41.generate from module object(typed-target)@41
in generate-really from module object(main-target)@28
in object(main-target)@28.generate from module object(main-target)@28
in object(project-target)@12.generate from module
in object(project-target)@13.generate from module
in load from module build-system
in import from module modules
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.


Andre Hentz


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