aboutsummaryrefslogtreecommitdiff
path: root/src/buildparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/buildparser.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/buildparser.cpp b/src/buildparser.cpp
index 50fc0fc..a00bd73 100644
--- a/src/buildparser.cpp
+++ b/src/buildparser.cpp
@@ -590,6 +590,24 @@ Build *BuildParser::genBuild()
590 bld->addAction( pAct ); 590 bld->addAction( pAct );
591 } 591 }
592 592
593 // Now create an auto check-action for each group where there isn't already
594 // an action.
595 for( TargetTmpList::iterator i = lTargetTmp.begin();
596 i != lTargetTmp.end(); i++ )
597 {
598 for( StringList::iterator j = (*i).second.lGroups.begin();
599 j != (*i).second.lGroups.end(); j++ )
600 {
601 if( !bld->hasAction( (*j) ) )
602 {
603 Action *pAct = new Action;
604 pAct->setName( *j );
605 pAct->addCommand( Action::actCheck, *j, true );
606 bld->addAction( pAct );
607 }
608 }
609 }
610
593 return bld; 611 return bld;
594} 612}
595 613