From ff6852d416d73d07a85537b9c3674204865b6e68 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 25 Apr 2007 04:39:39 +0000 Subject: Groups are better integrated, and now they also auto-generate commands if there isn't already one with the same name. --- src/build.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/build.cpp') diff --git a/src/build.cpp b/src/build.cpp index a7421de..113f61f 100644 --- a/src/build.cpp +++ b/src/build.cpp @@ -429,3 +429,8 @@ void Build::addToGroup( const std::string &sGroup, Target *pTarget ) mGroup[sGroup].push_back( pTarget ); } +bool Build::hasAction( const std::string &str ) +{ + return mAction.find( str ) != mAction.end(); +} + -- cgit v1.2.3