- StringList l2;
- for(StringList::iterator i=l.begin(); i!=l.end(); ++i)
- if(find(l2.begin(), l2.end(), *i)==l2.end())
- l2.push_back(*i);
- swap(l, l2);
+ add("debug", &BuildInfo::debug);
+ add("define", &Loader::define);
+ add("incpath", &Loader::incpath);
+ add("libpath", &Loader::libpath);
+ add("library", &Loader::library);
+ add("libmode", &BuildInfo::libmode);
+ add("libmode", &Loader::libmode_for_lib);
+ add("optimize", &BuildInfo::optimize);
+ add("strip", &BuildInfo::strip);
+ add("threads", &BuildInfo::threads);
+ add("warning_level", &BuildInfo::warning_level);
+ add("fatal_warnings", &BuildInfo::fatal_warnings);