| 961 | } |
| 962 | |
| 963 | bool HandleCacheEntry(std::string const& cacheKey, cmMakefile const& makefile, |
| 964 | std::string const& propertyName, |
| 965 | std::string const& propertyValue, bool appendAsString, |
| 966 | bool appendMode, bool remove) |
| 967 | { |
| 968 | // Set or append the property. |
| 969 | cmState* state = makefile.GetState(); |
| 970 | if (remove) { |
| 971 | state->RemoveCacheEntryProperty(cacheKey, propertyName); |
| 972 | } |
| 973 | if (appendMode) { |
| 974 | state->AppendCacheEntryProperty(cacheKey, propertyName, propertyValue, |
| 975 | appendAsString); |
| 976 | } else { |
| 977 | state->SetCacheEntryProperty(cacheKey, propertyName, propertyValue); |
| 978 | } |
| 979 | |
| 980 | return true; |
| 981 | } |
| 982 | |
| 983 | bool HandleInstallMode(cmExecutionStatus& status, |
| 984 | std::set<std::string> const& names, |
no test coverage detected
searching dependent graphs…