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

Function NeedExplicitProjectPlatform

Source/cmVSSolution.cxx:315–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313namespace {
314
315bool NeedExplicitProjectPlatform(cm::string_view typeId)
316{
317 // Some projects do not build interactively in the VS IDE unless they
318 // have an explicit platform, even if it matches the SLN platform.
319 if (typeId == Solution::Project::TypeIdCSharp ||
320 typeId == Solution::Project::TypeIdDotNetCore) {
321 return true;
322 }
323 return false;
324}
325
326void WriteSlnxSolutionConfigurationPlatforms(cmXMLElement& xmlParent,
327 Solution const& solution)

Callers 1

WriteSlnxProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…