Add backtrace support for language standard

This commit is contained in:
Justin Goshi
2020-06-18 15:42:15 -07:00
committed by Brad King
parent e43486a639
commit ba835874a4
5 changed files with 109 additions and 15 deletions

View File

@@ -148,6 +148,9 @@ public:
bool HasExplicitObjectName(cmSourceFile const* file) const;
void AddExplicitObjectName(cmSourceFile const* sf);
BT<std::string> const* GetLanguageStandardProperty(
std::string const& lang, std::string const& config) const;
cmProp GetLanguageStandard(std::string const& lang,
std::string const& config) const;
@@ -1050,7 +1053,7 @@ private:
bool GetRPATH(const std::string& config, const std::string& prop,
std::string& rpath) const;
mutable std::map<std::string, std::string> LanguageStandardMap;
mutable std::map<std::string, BT<std::string>> LanguageStandardMap;
cmProp GetPropertyWithPairedLanguageSupport(std::string const& lang,
const char* suffix) const;