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

Method WriteLaunchActionAdditionalOption

Source/cmXCodeScheme.cxx:390–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390bool cmXCodeScheme::WriteLaunchActionAdditionalOption(
391 cmXMLWriter& xout, std::string const& key, std::string const& value,
392 std::string const& varName)
393{
394 if (Target->GetTarget()->GetPropertyAsBool(varName)) {
395 xout.StartElement("AdditionalOption");
396 xout.BreakAttributes();
397
398 xout.Attribute("key", key);
399 xout.Attribute("value", value);
400 xout.Attribute("isEnabled", "YES");
401
402 xout.EndElement(); // AdditionalOption
403
404 return true;
405 }
406 return false;
407}
408
409void cmXCodeScheme::WriteProfileAction(cmXMLWriter& xout,
410 std::string const& configuration,

Callers

nothing calls this directly

Calls 6

BreakAttributesMethod · 0.80
AttributeMethod · 0.80
GetPropertyAsBoolMethod · 0.45
GetTargetMethod · 0.45
StartElementMethod · 0.45
EndElementMethod · 0.45

Tested by

no test coverage detected