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

Method AppendLanguageSideEffects

Source/cmGeneratorTarget.cxx:1093–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091}
1092
1093void cmGeneratorTarget::AppendLanguageSideEffects(
1094 std::map<std::string, std::set<cmGeneratorTarget const*>>& sideEffects) const
1095{
1096 static std::set<cm::string_view> const LANGS_WITH_NO_SIDE_EFFECTS = {
1097 "C"_s, "CXX"_s, "OBJC"_s, "OBJCXX"_s, "ASM"_s, "CUDA"_s, "HIP"_s
1098 };
1099
1100 for (auto const& lang : this->GetAllConfigCompileLanguages()) {
1101 if (!LANGS_WITH_NO_SIDE_EFFECTS.count(lang)) {
1102 sideEffects[lang].insert(this);
1103 }
1104 }
1105}
1106
1107bool cmGeneratorTarget::IsInBuildSystem() const
1108{

Callers 1

Calls 3

countMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected