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

Method WriteSinglePlatformExtension

Source/cmVisualStudio10TargetGenerator.cxx:5192–5207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5190}
5191
5192void cmVisualStudio10TargetGenerator::WriteSinglePlatformExtension(
5193 Elem& e1, std::string const& extension, std::string const& version)
5194{
5195 std::string const s =
5196 cmStrCat("$([Microsoft.Build.Utilities.ToolLocationHelper]"
5197 "::GetPlatformExtensionSDKLocation(`",
5198 extension, ", Version=", version,
5199 "`, $(TargetPlatformIdentifier), $(TargetPlatformVersion), null, "
5200 "$(ExtensionSDKDirectoryRoot), null))"
5201 "\\DesignTime\\CommonConfiguration\\Neutral\\",
5202 extension, ".props");
5203
5204 Elem e2(e1, "Import");
5205 e2.Attribute("Project", s);
5206 e2.Attribute("Condition", cmStrCat("exists('", s, "')"));
5207}
5208
5209void cmVisualStudio10TargetGenerator::WriteSDKReferences(Elem& e0)
5210{

Callers 1

Calls 2

AttributeMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected