| 1308 | } |
| 1309 | |
| 1310 | void cmMakefile::RemoveDefineFlag(std::string const& flag) |
| 1311 | { |
| 1312 | // Check the length of the flag to remove. |
| 1313 | if (flag.empty()) { |
| 1314 | return; |
| 1315 | } |
| 1316 | |
| 1317 | // If this is really a definition, update COMPILE_DEFINITIONS. |
| 1318 | if (this->ParseDefineFlag(flag, true)) { |
| 1319 | return; |
| 1320 | } |
| 1321 | |
| 1322 | // Remove this flag that does not look like a definition. |
| 1323 | s_RemoveDefineFlag(flag, this->DefineFlags); |
| 1324 | } |
| 1325 | |
| 1326 | void cmMakefile::AddCompileDefinition(std::string const& option) |
| 1327 | { |
no test coverage detected