mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
cmVisualStudioGeneratorOptions: Add PrependInerhitedString method
This commit is contained in:
@@ -211,6 +211,17 @@ void cmVisualStudioGeneratorOptions::ParseFinish()
|
||||
}
|
||||
}
|
||||
|
||||
void cmVisualStudioGeneratorOptions::PrependInheritedString(
|
||||
std::string const& key)
|
||||
{
|
||||
std::map<std::string, FlagValue>::iterator i = this->FlagMap.find(key);
|
||||
if (i == this->FlagMap.end() || i->second.size() != 1) {
|
||||
return;
|
||||
}
|
||||
std::string& value = i->second[0];
|
||||
value = "%(" + key + ") " + value;
|
||||
}
|
||||
|
||||
void cmVisualStudioGeneratorOptions::StoreUnknownFlag(const char* flag)
|
||||
{
|
||||
// Look for Intel Fortran flags that do not map well in the flag table.
|
||||
|
||||
Reference in New Issue
Block a user