+ class Loader: public Msp::Parser::Loader
+ {
+ public:
+ Loader(BuildInfo &);
+ private:
+ BuildInfo &binfo;
+
+ void cflag(const std::string &s) { binfo.cflags.push_back(s); }
+ void incpath(const std::string &s) { binfo.incpath.push_back(s); }
+ void define(const std::string &s) { binfo.defines.push_back(s); }
+ void ldflag(const std::string &s) { binfo.ldflags.push_back(s); }
+ void libpath(const std::string &s) { binfo.libpath.push_back(s); }
+ void library(const std::string &s) { binfo.libs.push_back(s); }
+ };