| 785 | } |
| 786 | |
| 787 | bool HandleFileSet(cmFileSet* fileSet, std::string const& propertyName, |
| 788 | std::string const& propertyValue, bool appendAsString, |
| 789 | bool appendMode, bool remove) |
| 790 | { |
| 791 | // Set or append the property. |
| 792 | if (appendMode) { |
| 793 | fileSet->AppendProperty(propertyName, propertyValue, appendAsString); |
| 794 | } else { |
| 795 | if (remove) { |
| 796 | fileSet->SetProperty(propertyName, nullptr); |
| 797 | } else { |
| 798 | fileSet->SetProperty(propertyName, propertyValue); |
| 799 | } |
| 800 | } |
| 801 | return true; |
| 802 | } |
| 803 | |
| 804 | bool HandleSourceMode(cmExecutionStatus& status, |
| 805 | std::set<std::string> const& names, |
no test coverage detected
searching dependent graphs…