| 1320 | |
| 1321 | template <class T> |
| 1322 | std::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 |
no test coverage detected
searching dependent graphs…