]> git.tdb.fi Git - builder.git/blobdiff - source/binarycomponent.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / binarycomponent.h
diff --git a/source/binarycomponent.h b/source/binarycomponent.h
deleted file mode 100644 (file)
index ef145da..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef BINARYCOMPONENT_H_
-#define BINARYCOMPONENT_H_
-
-#include "component.h"
-
-class BinaryComponent: public Component
-{
-public:
-       class Loader: public Msp::DataFile::DerivedObjectLoader<BinaryComponent, Component::Loader>
-       {
-       public:
-               Loader(BinaryComponent &);
-       private:
-               void use(const std::string &);
-       };
-
-       enum Type
-       {
-               LIBRARY,
-               PROGRAM,
-               MODULE
-       };
-
-private:
-       Type type;
-       std::vector<const Component *> uses;
-
-public:
-       BinaryComponent(SourcePackage &p, const std::string &n, Type t): Component(p, n), type(t) { }
-
-       Type get_type() const { return type; }
-
-       void create_build_info() override;
-       void update_exported_build_info(BuildInfo &) const override;
-       void create_targets() const override;
-};
-
-#endif