X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=d6ed43860315b1508356d66024d8852258f70af7;hb=c01dc113eca278100ad0b4572082da619d52662e;hp=d0e68f50588da69decb51b556dd633be63529c05;hpb=6026d07fec5132c04fa94d61cef2fd59cffeb4b8;p=builder.git diff --git a/source/target.h b/source/target.h index d0e68f5..d6ed438 100644 --- a/source/target.h +++ b/source/target.h @@ -45,7 +45,6 @@ protected: std::string install_location; Dependencies depends; - bool deps_ready; Target(Builder &, const std::string &); public: @@ -81,13 +80,9 @@ public: const std::string &get_install_location() const { return install_location; } void add_depend(Target *); const Dependencies &get_depends() const { return depends; } - bool get_depends_ready() const { return deps_ready; } - /** - Finds dependencies for the target. When all dependencies have been found, - the function should set deps_ready to true. - */ - virtual void find_depends() { deps_ready = true; } + /** Finds dependencies for the target. */ + virtual void find_depends() { } /** Prepares the target by recursively preparing dependencies, then checking