aboutsummaryrefslogtreecommitdiff
path: root/src/target.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-07 22:49:40 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-07 22:49:40 +0000
commit71cc260a3ca6d3d0594fd4cadb0711ae3f142932 (patch)
tree0b270638890c3b3d45e998cf50cf895f2cad6af5 /src/target.h
parentfe5de4801bfe7926e116585e2f71399cb664dfb2 (diff)
downloadbuild-71cc260a3ca6d3d0594fd4cadb0711ae3f142932.tar.gz
build-71cc260a3ca6d3d0594fd4cadb0711ae3f142932.tar.bz2
build-71cc260a3ca6d3d0594fd4cadb0711ae3f142932.tar.xz
build-71cc260a3ca6d3d0594fd4cadb0711ae3f142932.zip
About to implement Rule, the heart of the porform generation system. Once
that's done, we can actually run the performs, and, most likely build things.
Diffstat (limited to '')
-rw-r--r--src/target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target.h b/src/target.h
index 75fcb50..5325965 100644
--- a/src/target.h
+++ b/src/target.h
@@ -8,12 +8,17 @@
8 8
9typedef std::list<std::string> StringList; 9typedef std::list<std::string> StringList;
10 10
11class Build;
12
11class Target 13class Target
12{ 14{
13public: 15public:
14 Target(); 16 Target();
15 virtual ~Target(); 17 virtual ~Target();
16 18
19 virtual void check( Build &bld ) = 0;
20 virtual void clean( Build &bld ) = 0;
21
17 void setName( const std::string &sName ) 22 void setName( const std::string &sName )
18 { 23 {
19 this->sName = sName; 24 this->sName = sName;