build_info.libs.push_back((*i)->get_name());
if(!(*i)->get_install())
{
- build_info.libmodes[(*i)->get_name()] = BuildInfo::STATIC;
+ build_info.libmodes[(*i)->get_name()] = BuildInfo::STATIC;
build_info.libpath.push_back((*i)->get_package().get_source_directory());
}
}
ObjectFile::ObjectFile(Builder &b, const Component &c, SourceFile &s):
FileTarget(b, c.get_package(), generate_target_path(c, s.get_path())),
- source(s)
+ source(s)
{
component = &c;
add_dependency(source);
if(++j==cur_names->end())
{
- if(mode==BuildInfo::DYNAMIC && cur_names==&shared_names)
+ if(mode==BuildInfo::DYNAMIC && cur_names==&shared_names)
cur_names = &static_names;
else if(mode==BuildInfo::STATIC && cur_names==&static_names)
cur_names = &shared_names;