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

Function GetTargetObjectDirArch

Source/cmGlobalXCodeGenerator.cxx:1322–1333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320
1321template <class T>
1322std::string GetTargetObjectDirArch(T const& target,
1323 std::string const& defaultVal)
1324{
1325 cmList archs{ target.GetSafeProperty("OSX_ARCHITECTURES") };
1326 if (archs.size() > 1) {
1327 return "$(CURRENT_ARCH)";
1328 }
1329 if (archs.size() == 1) {
1330 return archs.front();
1331 }
1332 return defaultVal;
1333}
1334
1335} // anonymous
1336

Callers 2

Calls 2

sizeMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…