aboutsummaryrefslogtreecommitdiff
path: root/src/build.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-04-25 04:39:39 +0000
committerMike Buland <eichlan@xagasoft.com>2007-04-25 04:39:39 +0000
commitff6852d416d73d07a85537b9c3674204865b6e68 (patch)
tree698f10b1b510f11fd5f3484dfb71beea23d1413c /src/build.cpp
parentf88e5c349ff0107ac4a13ae00180f767741f88d1 (diff)
downloadbuild-ff6852d416d73d07a85537b9c3674204865b6e68.tar.gz
build-ff6852d416d73d07a85537b9c3674204865b6e68.tar.bz2
build-ff6852d416d73d07a85537b9c3674204865b6e68.tar.xz
build-ff6852d416d73d07a85537b9c3674204865b6e68.zip
Groups are better integrated, and now they also auto-generate commands if there
isn't already one with the same name.
Diffstat (limited to '')
-rw-r--r--src/build.cpp5
1 files changed, 5 insertions, 0 deletions
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 )
429 mGroup[sGroup].push_back( pTarget ); 429 mGroup[sGroup].push_back( pTarget );
430} 430}
431 431
432bool Build::hasAction( const std::string &str )
433{
434 return mAction.find( str ) != mAction.end();
435}
436