X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuildinfo.h;h=c0584002233512392849dd7a6097de40bc02f1a6;hb=1c66151c44b4f4fb567da5ec8b75f066cccc5421;hp=fa8ae62d39606527509d7c9a8b8dd18d77db68e7;hpb=62853c9bb228cbb541304e866036cd931e3f5500;p=builder.git diff --git a/source/buildinfo.h b/source/buildinfo.h index fa8ae62..c058400 100644 --- a/source/buildinfo.h +++ b/source/buildinfo.h @@ -51,6 +51,17 @@ public: 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 @@ -82,7 +93,7 @@ public: typedef std::list PathList; typedef std::list WordList; typedef std::map LibModeMap; - typedef std::map StandardMap; + typedef std::map StandardMap; Tracked sysroot; DefineMap defines;