diff options
Diffstat (limited to 'src/target.cpp')
-rw-r--r-- | src/target.cpp | 19 |
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 | ||
3 | Target::Target() | 3 | Target::Target() : |
4 | bRun( false ) | ||
4 | { | 5 | { |
5 | } | 6 | } |
6 | 7 | ||
@@ -8,3 +9,19 @@ Target::~Target() | |||
8 | { | 9 | { |
9 | } | 10 | } |
10 | 11 | ||
12 | void 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 | |||