From ac80633ce275edddaa3e4fa2ae0c048ed00f7d74 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 22 Mar 2010 10:29:25 +0000 Subject: svn merge -c505 ^/branches/released . --- tools/mhmake/src/fileinfo.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tools/mhmake/src/fileinfo.h') diff --git a/tools/mhmake/src/fileinfo.h b/tools/mhmake/src/fileinfo.h index 16ca414e2..6c9800f38 100644 --- a/tools/mhmake/src/fileinfo.h +++ b/tools/mhmake/src/fileinfo.h @@ -351,9 +351,14 @@ public: { return (m_BuildStatus&2)==2; } - void SetBuilding(void) + void SetBuilding(bool Others=true) { m_BuildStatus|=2; + /* Check if there are targets build by the rule attached to this target, if so set them also to building */ + if (Others && m_pRule) + { + m_pRule->SetTargetsIsBuilding(this); + } } void ClearBuilding(void) { -- cgit v1.2.3