From a6c49957cc9eb474df922af619686a468a98a877 Mon Sep 17 00:00:00 2001 From: Bart Vanhauwaert Date: Mon, 2 Aug 2010 14:00:45 +0200 Subject: Write header information to configuration as well for linkcomponents --- Component.cc | 1 + Component.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Component.cc b/Component.cc index 9bb26bf..db6ccd6 100644 --- a/Component.cc +++ b/Component.cc @@ -265,6 +265,7 @@ SharedPtr LinkComponent::readFromSystemConfiguration(const void LinkComponent::writeSystemConfiguration(SharedPtr 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 discoverFor(const Configurable& UseIn); virtual SharedPtr readFromSystemConfiguration(const Configurable& UseIn); + virtual void writeSystemConfiguration(SharedPtr CC, const Configurable& UseIn); virtual std::string uniqueString(const Configurable& UseIn); private: - virtual void writeSystemConfiguration(SharedPtr CC, const Configurable& UseIn); virtual bool matches(SharedPtr CC, const Configurable& UseIn); bool works(const std::string& IncludeDir); -- cgit v1.2.3-59-g8ed1b