| 143 | } |
| 144 | |
| 145 | void cmIDEOptions::FlagMapUpdate(cmIDEFlagTable const* entry, |
| 146 | std::string const& new_value) |
| 147 | { |
| 148 | if (entry->special & cmIDEFlagTable::UserIgnored) { |
| 149 | // Ignore the user-specified value. |
| 150 | this->FlagMap[entry->IDEName] = entry->value; |
| 151 | } else if (entry->special & cmIDEFlagTable::SemicolonAppendable) { |
| 152 | this->FlagMap[entry->IDEName].push_back(new_value); |
| 153 | } else if (entry->special & cmIDEFlagTable::SpaceAppendable) { |
| 154 | this->FlagMap[entry->IDEName].append_with_space(new_value); |
| 155 | } else if (entry->special & cmIDEFlagTable::CommaAppendable) { |
| 156 | this->FlagMap[entry->IDEName].append_with_comma(new_value); |
| 157 | } else { |
| 158 | // Use the user-specified value. |
| 159 | this->FlagMap[entry->IDEName] = new_value; |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | void cmIDEOptions::AddDefine(std::string const& def) |
| 164 | { |
no test coverage detected