| 1005 | } |
| 1006 | |
| 1007 | bool HandleInstall(cmInstalledFile* file, cmMakefile& makefile, |
| 1008 | std::string const& propertyName, |
| 1009 | std::string const& propertyValue, bool appendAsString, |
| 1010 | bool appendMode, bool remove) |
| 1011 | { |
| 1012 | // Set or append the property. |
| 1013 | if (remove) { |
| 1014 | file->RemoveProperty(propertyName); |
| 1015 | } else if (appendMode) { |
| 1016 | file->AppendProperty(&makefile, propertyName, propertyValue, |
| 1017 | appendAsString); |
| 1018 | } else { |
| 1019 | file->SetProperty(&makefile, propertyName, propertyValue); |
| 1020 | } |
| 1021 | return true; |
| 1022 | } |
| 1023 | } |
no test coverage detected
searching dependent graphs…