3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
13 #include <msp/datafile/loader.h>
17 Stores information about compiler command line parameters in a more abstract
18 form. Allows combining with other BuildInfos to support package dependencies.
23 class Loader: public Msp::DataFile::Loader
30 void cflag(const std::string &s) { binfo.cflags.push_back(s); }
31 void incpath(const std::string &s) { binfo.incpath.push_back(s); }
32 void define(const std::string &s) { binfo.defines.push_back(s); }
33 void ldflag(const std::string &s) { binfo.ldflags.push_back(s); }
34 void libpath(const std::string &s) { binfo.libpath.push_back(s); }
35 void library(const std::string &s) { binfo.libs.push_back(s); }
45 void add(const BuildInfo &);
48 void unique(StringList &);