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

Method PlatformIsAppleSimulator

Source/cmMakefile.cxx:2293–2302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2291}
2292
2293bool cmMakefile::PlatformIsAppleSimulator() const
2294{
2295 return std::set<AppleSDK>{
2296 AppleSDK::AppleTVSimulator,
2297 AppleSDK::IPhoneSimulator,
2298 AppleSDK::WatchSimulator,
2299 AppleSDK::XRSimulator,
2300 }
2301 .count(this->GetAppleSDKType());
2302}
2303
2304bool cmMakefile::PlatformIsAppleCatalyst() const
2305{

Callers 1

SelectSuitableLibraryMethod · 0.80

Calls 2

GetAppleSDKTypeMethod · 0.95
countMethod · 0.45

Tested by

no test coverage detected