]> git.tdb.fi Git - builder.git/blobdiff - source/target.h
Installing only makes sense for file targets
[builder.git] / source / target.h
index 790a7e33626670ecc6ef546e4bb4e7caaab3191a..8a394f3717625787dbc1c123b7bd4f61319da8da 100644 (file)
@@ -14,8 +14,6 @@ class SourcePackage;
 class Task;
 class Tool;
 
-class Target;
-
 /**
 Targets make up the build graph.  This class is a base for all target types and
 handles many common tasks.  See also FileTarget and VirtualTarget.
@@ -47,7 +45,6 @@ protected:
        const Tool *tool;
        State state;
        std::string rebuild_reason;
-       std::string install_location;
 
        Dependencies depends;
 
@@ -89,8 +86,6 @@ public:
        /** Forces rebuild of the target. */
        void force_rebuild();
 
-       bool is_installable() const { return !install_location.empty(); }
-       const std::string &get_install_location() const { return install_location; }
        void add_depend(Target *);
        const Dependencies &get_depends() const { return depends; }