From 185d182cd6d3e0593a3627837f3bb400b654e602 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 31 Mar 2005 20:07:16 +0000 Subject: Yes, I did break dependency handling a bit. --- diff --git a/lib/component_factory.cc b/lib/component_factory.cc index 2a2eefe..5c18bb7 100644 --- a/lib/component_factory.cc +++ b/lib/component_factory.cc @@ -76,6 +76,7 @@ namespace sitecing { deps.push_back(root_intermediate+str+".classname"); } } + // XXX: intermediate_deps should be broken down config_options *co_intermediate_deps = config.lookup_config(nos,config_options::flag_intermediate_deps); if(co_intermediate_deps) { for(list::const_iterator i=co_intermediate_deps->intermediate_deps.begin();i!=co_intermediate_deps->intermediate_deps.end();++i) @@ -101,7 +102,12 @@ namespace sitecing { } } } - // XXX: extra deps like IntermediateDeps? + // XXX: intermediate_deps should be broken down + config_options *co_intermediate_deps = config.lookup_config(nos,config_options::flag_intermediate_deps); + if(co_intermediate_deps) { + for(list::const_iterator i=co_intermediate_deps->intermediate_deps.begin();i!=co_intermediate_deps->intermediate_deps.end();++i) + deps.push_back(*i); + } }catch(utility_no_suffix& uns) { } } }catch(utility_no_prefix& unp) { } -- cgit v0.9.0.2