Boost logo

Boost-Build :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-05-26 09:35:10

At 12:33 AM 5/26/2003, Rene Rivera wrote:

>But if you need control on a per file basis then the naswer is
>because it's not really supported by BBv1. But a hack that will work is
>declare a free-feature to specify files which should have warnings
>and check as each file is compiled to add, or not, the --a flag. And to
>it easy for you.. attached is a patch to the current como-win32-tools.jam
>which does that ;-) With it you can specify <no-warn>some_file.cpp in the
>requirements section which will not get the --a flag.

Yes, that's exactly what is needed!

I made the change to como-win32-tools.jam in CVS. It didn't work for me,

Perhaps I didn't use <no-warn> correctly. See my Jamfile below. I also
tried prefixing the two .cpp filenames with "../src/", but that didn't work




# Boost Filesystem Library Build Jamfile

subproject libs/filesystem/build ;

SOURCES = exception operations_posix_windows path_posix_windows convenience

lib boost_filesystem : ../src/$(SOURCES).cpp
: <include>$(BOOST_ROOT) <sysinclude>$(BOOST_ROOT)
: debug release
: <no-warn>exception.cpp <no-warn>operations_posix_windows.cpp


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