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

Method InsertCompileOption

Source/cmTarget.cxx:2460–2466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2458}
2459
2460void cmTarget::InsertCompileOption(BT<std::string> const& entry, bool before)
2461{
2462 this->impl->CompileOptions.WriteDirect(
2463 entry,
2464 before ? UsageRequirementProperty::Action::Prepend
2465 : UsageRequirementProperty::Action::Append);
2466}
2467
2468void cmTarget::InsertCompileDefinition(BT<std::string> const& entry)
2469{

Callers 1

HandleDirectContentMethod · 0.80

Calls 1

WriteDirectMethod · 0.80

Tested by

no test coverage detected