author | Michael Krelin <hacker@klever.net> | 2005-03-31 20:07:16 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-03-31 20:07:16 (UTC) |
commit | 185d182cd6d3e0593a3627837f3bb400b654e602 (patch) (side-by-side diff) | |
tree | bf848291cf5fb161df0a028ca9f3a3095f862d0b | |
parent | c9a601eeae3457d28fb1dfd7592ce29d2b06f411 (diff) | |
download | sitecing-185d182cd6d3e0593a3627837f3bb400b654e602.zip sitecing-185d182cd6d3e0593a3627837f3bb400b654e602.tar.gz sitecing-185d182cd6d3e0593a3627837f3bb400b654e602.tar.bz2 |
Yes, I did break dependency handling a bit.
-rw-r--r-- | lib/component_factory.cc | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ -78,2 +78,3 @@ namespace sitecing { } + // XXX: intermediate_deps should be broken down config_options *co_intermediate_deps = config.lookup_config(nos,config_options::flag_intermediate_deps); @@ -103,3 +104,8 @@ 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<string>::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) { } |