diff options
author | Bart Vanhauwaert <bart@grafitroniks.fr> | 2010-08-02 14:00:45 +0200 |
---|---|---|
committer | Bart Vanhauwaert <bart@grafitroniks.fr> | 2010-08-02 14:00:45 +0200 |
commit | a6c49957cc9eb474df922af619686a468a98a877 (patch) | |
tree | 51c794aa3123a9d8ce3ddb5c7888a7ab517831fc | |
parent | Better error reporting for missing libraries (diff) | |
download | bldit-a6c49957cc9eb474df922af619686a468a98a877.tar.xz bldit-a6c49957cc9eb474df922af619686a468a98a877.zip |
Write header information to configuration as well for linkcomponents
-rw-r--r-- | Component.cc | 1 | ||||
-rw-r--r-- | Component.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Component.cc b/Component.cc index 9bb26bf..db6ccd6 100644 --- a/Component.cc +++ b/Component.cc @@ -265,6 +265,7 @@ SharedPtr<ConfiguredComponent> LinkComponent::readFromSystemConfiguration(const void LinkComponent::writeSystemConfiguration(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn) { + HeaderOnlyComponent::writeSystemConfiguration(CC, UseIn); Project::it().systemConfiguration().configureKey(name()+uniqueString(UseIn)+".librarydir",CC->linkDirectories()); Project::it().systemConfiguration().configureKey(name()+uniqueString(UseIn)+".linkpart",CC->linkParts()); } diff --git a/Component.h b/Component.h index 7ed683d..58d7555 100644 --- a/Component.h +++ b/Component.h @@ -61,10 +61,10 @@ class HeaderOnlyComponent : public Component protected: virtual SharedPtr<ConfiguredComponent> discoverFor(const Configurable& UseIn); virtual SharedPtr<ConfiguredComponent> readFromSystemConfiguration(const Configurable& UseIn); + virtual void writeSystemConfiguration(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn); virtual std::string uniqueString(const Configurable& UseIn); private: - virtual void writeSystemConfiguration(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn); virtual bool matches(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn); bool works(const std::string& IncludeDir); |