1 #ifndef VIRTUALTARGET_H_
2 #define VIRTUALTARGET_H_
4 #include "libbuilder_api.h"
8 A target that is not associated with any file.
10 class LIBBUILDER_API VirtualTarget: public Target
13 VirtualTarget(Builder &b, const std::string &n): Target(b, n) { }
15 const char *get_type() const override { return "VirtualTarget"; }
17 void check_rebuild() override;
20 Task *build() override;