Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-04 09:10:25


Hi Kelly,
> I've noticed that C source is not recompiled when a header it includes
> is touched. If I change the extension of my source from .c to .cpp and
> adjust the Jamfile, everything works properly.

Indeed! I've just committed a fix and a test for this, which is as simple as:

--- tools/builtin.jam 3 Feb 2005 15:32:56 -0000 1.165
+++ tools/builtin.jam 4 Apr 2005 14:07:29 -0000
@@ -294,6 +294,8 @@
type.register HPP : hpp : H ;
type.register C : c ;

+type.set-scanner C : c-scanner ;
+

Apparenty, we're not using C much.

Thanks,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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