CHAINED //< Include only compilation options
};
+ struct LanguageStandard
+ {
+ std::string type;
+ unsigned year;
+
+ LanguageStandard(): year(0) { }
+ LanguageStandard(const std::string &);
+
+ std::string str() const;
+ };
+
/**
A wrapper which tracks the set status of the wrapped variable. A default
value may be provided in initialization without causing it to be treated as
public:
Tracked(): value(T()), set(false) { }
Tracked(T v): value(v), set(false) { }
+ Tracked(const Tracked &t): value(t.value), set(t.set) { }
Tracked &operator=(const Tracked &v) { if(v.set) { value = v.value; set = true; } return *this; }
Tracked &operator=(const T &v) { value = v; set = true; return *this; }
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;
+ typedef std::map<std::string, LanguageStandard> StandardMap;
Tracked<Msp::FS::Path> sysroot;
DefineMap defines;