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

Method SetVSVersionVar

Source/cmGlobalVisualStudioVersionedGenerator.cxx:713–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713void cmGlobalVisualStudioVersionedGenerator::SetVSVersionVar(cmMakefile* mf)
714{
715 if (cm::optional<std::string> vsVer = this->GetVSInstanceVersion()) {
716 mf->AddDefinition("CMAKE_VS_VERSION_BUILD_NUMBER", *vsVer);
717 }
718}
719
720bool cmGlobalVisualStudioVersionedGenerator::ProcessGeneratorInstanceField(
721 std::string const& key, std::string const& value)

Callers 1

SetGeneratorInstanceMethod · 0.95

Calls 2

GetVSInstanceVersionMethod · 0.95
AddDefinitionMethod · 0.45

Tested by

no test coverage detected