Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2004-01-21 12:03:48


Yes, that't it. I realize that it is no showstopper. I just thought it
would be nice if it could be done. Ideally there would be a single line
of output for each action taken containing the name of the action (like
msvc.compile or msvc.compile) and a single argument (now we have an
additional *.rsp file named just as the *.exe for msvc.link) so there
would be a pretty good change that the output of one action fits on one
line on the console. Also setting '-d0' on the command line would
produce no output. Now it only prevents bjam from emiting any ouput of
its own but that does not stop the ms tools from babling. In an ideal
world there would be an output only if there is a problem (warning or
error).

Zbynek

PS. If this sample output could look as the later, edited:

...found 75 targets...
...updating 12 targets...
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\Number.obj
Number.cpp
msvc.archive _build\number\msvc\debug\arit-double\link-static\number.lib
_build\number\msvc\debug\arit-double\link-static\number.rsp
msvc.compile.c++ _build\util\msvc\debug\arit-double\link-static\testMain.obj
test.cpp
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\FixedPointTest.obj
FixedPointTest.cpp
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\PositionTest.obj
PositionTest.cpp
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\RandTest.obj
RandTest.cpp
msvc.link _build\number\msvc\debug\arit-double\link-static\test.exe
_build\number\msvc\debug\arit-double\link-static\test.rsp
testing.unit-test _build\number\msvc\debug\arit-double\link-static\test.passed
........
OK (8)
...updated 12 targets...
------------------------------------------------------------------
...found 75 targets...
...updating 12 targets...
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\Number.obj
msvc.archive _build\number\msvc\debug\arit-double\link-static\number.lib
msvc.compile.c++ _build\util\msvc\debug\arit-double\link-static\testMain.obj
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\FixedPointTest.obj
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\PositionTest.obj
msvc.compile.c++ _build\number\msvc\debug\arit-double\link-static\RandTest.obj
msvc.link _build\number\msvc\debug\arit-double\link-static\test.exe
testing.unit-test _build\number\msvc\debug\arit-double\link-static\test.passed
...updated 12 targets...

Rene Rivera wrote:
>
> David Abrahams wrote:
>
>>Zbynek Winkler <zwin_at_[hidden]> writes:
>>
>>
>>
>>>Hello.
>>>
>>>Recently I've found out that I am not the only one who requires silence
>>
>>>from the programs in use (see [1]). bjam is already very good at this
>>
>>>comparing to the output of many configure-generated makefiles. However
>>>msvc compiler does not play very well with this. Is there a way to
>>>capture the output of the compiler and only echo it to screen when the
>>>compile process failed? I've recently used bjam with gcc and it is
>>>easier to see what is going on... It is not a priority... only if there
>>>is some easy switch to flip... :)
>>>
>>>Zbynek
>>
>>
>>Huh? That's what happens normally. What exactly is your complaint?
>
>
> I think he is complaining about output like this:
>
> vc-Archive
> bin\boost\libs\date_time\build\libboost_date_time.lib\vc7.1\debug\runtime-link-static\libboost_date_time-vc71-sgd-1_31.lib
> Microsoft (R) Library Manager Version 7.10.3077
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> vc-Link
> bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\release\threading-multi\boost_date_time-vc71-mt-1_31.dll
> bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\release\threading-multi\boost_date_time-vc71-mt-1_31.lib
> Creating library
> bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\release\threading-multi\boost_date_time-vc71-mt-1_31.lib
> and object
> bin\boost\libs\date_time\build\boost_date_time.dll\vc7.1\release\threading-multi\boost_date_time-vc71-mt-1_31.exp
>
> FileClone stage\lib\boost_date_time-vc71-mt-1_31.dll
> 1 file(s) copied.
>
> So there's output we just don't capture.
>
>

-- 
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech 
Republic
 

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