| 1276 | } |
| 1277 | |
| 1278 | void cmMakefile::AddDefineFlag(std::string const& flag) |
| 1279 | { |
| 1280 | if (flag.empty()) { |
| 1281 | return; |
| 1282 | } |
| 1283 | |
| 1284 | // If this is really a definition, update COMPILE_DEFINITIONS. |
| 1285 | if (this->ParseDefineFlag(flag, false)) { |
| 1286 | return; |
| 1287 | } |
| 1288 | |
| 1289 | // Add this flag that does not look like a definition. |
| 1290 | s_AddDefineFlag(flag, this->DefineFlags); |
| 1291 | } |
| 1292 | |
| 1293 | static void s_RemoveDefineFlag(std::string const& flag, std::string& dflags) |
| 1294 | { |
no test coverage detected