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

Function HandleFileSet

Source/cmSetPropertyCommand.cxx:787–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787bool 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
804bool HandleSourceMode(cmExecutionStatus& status,
805 std::set<std::string> const& names,

Callers 1

HandleFileSetModeFunction · 0.85

Calls 2

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…