X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Ftarget.h;h=885ef4b567f00d69d9f04921cd5fca9c46c06568;hb=6f76342d14c7b7ec7b9629fcfd40199bca1e5e0f;hp=790a7e33626670ecc6ef546e4bb4e7caaab3191a;hpb=ad88e1ba08cf798e5f87796021c947cf500a02e1;p=builder.git diff --git a/source/target.h b/source/target.h index 790a7e3..885ef4b 100644 --- a/source/target.h +++ b/source/target.h @@ -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,7 @@ protected: const Tool *tool; State state; std::string rebuild_reason; - std::string install_location; + Msp::FS::Path install_location; Dependencies depends; @@ -90,7 +88,7 @@ public: void force_rebuild(); bool is_installable() const { return !install_location.empty(); } - const std::string &get_install_location() const { return install_location; } + const Msp::FS::Path &get_install_location() const { return install_location; } void add_depend(Target *); const Dependencies &get_depends() const { return depends; }