]> git.tdb.fi Git - builder.git/blobdiff - source/virtualtarget.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / virtualtarget.h
diff --git a/source/virtualtarget.h b/source/virtualtarget.h
deleted file mode 100644 (file)
index 5151826..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef VIRTUALTARGET_H_
-#define VIRTUALTARGET_H_
-
-#include "target.h"
-
-/**
-A target that is not associated with any file.
-*/
-class VirtualTarget: public Target
-{
-public:
-       VirtualTarget(Builder &b, const std::string &n): Target(b, n) { }
-
-       const char *get_type() const override { return "VirtualTarget"; }
-private:
-       void check_rebuild() override;
-
-public:
-       Task *build() override;
-};
-
-#endif