3 This file is part of builder
4 Copyright © 2006-2009 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
31 void cflag(const std::string &);
32 void incpath(const std::string &);
33 void define(const std::string &);
34 void ldflag(const std::string &);
35 void libpath(const std::string &);
36 void library(const std::string &);
37 void warning(const std::string &);
48 /** Adds another BuildInfo to the end of this one. */
49 void add(const BuildInfo &);
51 /** Makes sure there are no duplicate entries in the lists. For warnings,
52 contradicting flags are eliminated and the last one stays in effect. */