MCPcopy Create free account
hub / github.com/Kitware/CMake / HandleInstall

Function HandleInstall

Source/cmSetPropertyCommand.cxx:1007–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005}
1006
1007bool 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}

Callers 1

HandleInstallModeFunction · 0.85

Calls 3

RemovePropertyMethod · 0.45
AppendPropertyMethod · 0.45
SetPropertyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…