diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-04-25 04:39:39 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-04-25 04:39:39 +0000 |
commit | ff6852d416d73d07a85537b9c3674204865b6e68 (patch) | |
tree | 698f10b1b510f11fd5f3484dfb71beea23d1413c /src/build.cpp | |
parent | f88e5c349ff0107ac4a13ae00180f767741f88d1 (diff) | |
download | build-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.cpp | 5 |
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 | ||
432 | bool Build::hasAction( const std::string &str ) | ||
433 | { | ||
434 | return mAction.find( str ) != mAction.end(); | ||
435 | } | ||
436 | |||