private:
void incpath(const std::string &);
void define(const std::string &, const std::string &);
+ void keep_symbol(const std::string &);
+ void libmode_for_lib(const std::string &, LibraryMode);
void libpath(const std::string &);
void library(const std::string &);
+ void local_incpath(const std::string &);
+ void standard(Msp::DataFile::Symbol, const std::string &);
+ void sysroot(const std::string &);
};
enum UpdateLevel
typedef std::map<std::string, std::string> DefineMap;
typedef std::list<Msp::FS::Path> PathList;
typedef std::list<std::string> WordList;
+ typedef std::map<std::string, LibraryMode> LibModeMap;
+ typedef std::map<std::string, std::string> StandardMap;
+ Tracked<Msp::FS::Path> sysroot;
DefineMap defines;
PathList incpath;
+ PathList local_incpath;
PathList libpath;
WordList libs;
Tracked<LibraryMode> libmode;
+ LibModeMap libmodes;
+ WordList keep_symbols;
+ StandardMap standards;
Tracked<bool> threads;
Tracked<bool> debug;
Tracked<int> optimize;
BuildInfo();
+ /** Returns the library mode for linking a particular library. If no mode
+ has been specified for that library, the the global library mode is
+ returned. */
+ LibraryMode get_libmode_for(const std::string &) const;
+
/** Updates the BuildInfo from another one. Lists are concatenated, with
the first occurrence of each item preserved. Scalars are overwritten.