]> git.tdb.fi Git - builder.git/blob - source/virtualtarget.h
Include libmode in library lookup hash
[builder.git] / source / virtualtarget.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef VIRTUALTARGET_H_
9 #define VIRTUALTARGET_H_
10
11 #include "target.h"
12
13 /**
14 A target that is not associated with any file.
15 */
16 class VirtualTarget: public Target
17 {
18 public:
19         VirtualTarget(Builder &b, const std::string &n): Target(b, 0, n) { }
20         const char *get_type() const { return "VirtualTarget"; }
21         unsigned   count_rebuild();
22 private:
23         void check_rebuild();
24         virtual Action *create_action() { return 0; }
25 };
26
27 #endif