aboutsummaryrefslogtreecommitdiff
path: root/src/target.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/target.cpp')
-rw-r--r--src/target.cpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/target.cpp b/src/target.cpp
index 834dbaa..a26f76f 100644
--- a/src/target.cpp
+++ b/src/target.cpp
@@ -1,6 +1,7 @@
1#include "target.h" 1#include "target.h"
2 2
3Target::Target() 3Target::Target() :
4 bRun( false )
4{ 5{
5} 6}
6 7
@@ -8,3 +9,19 @@ Target::~Target()
8{ 9{
9} 10}
10 11
12void Target::run( Action::eAction nAct, Build &bld )
13{
14 bRun = true;
15
16 switch( nAct )
17 {
18 case Action::actCheck:
19 check( bld );
20 break;
21
22 case Action::actClean:
23 clean( bld );
24 break;
25 }
26}
27