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

Function HandleTest

Source/cmSetPropertyCommand.cxx:898–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898bool HandleTest(cmTest* test, std::string const& propertyName,
899 std::string const& propertyValue, bool appendAsString,
900 bool appendMode, bool remove)
901{
902 // Set or append the property.
903 if (appendMode) {
904 test->AppendProperty(propertyName, propertyValue, appendAsString);
905 } else {
906 if (remove) {
907 test->SetProperty(propertyName, nullptr);
908 } else {
909 test->SetProperty(propertyName, propertyValue);
910 }
911 }
912
913 return true;
914}
915
916bool HandleCacheMode(cmExecutionStatus& status,
917 std::set<std::string> const& names,

Callers 1

HandleTestModeFunction · 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…