diff options
| author | ruki <[email protected]> | 2023-10-13 23:33:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-13 23:33:15 +0800 |
| commit | 72c1a7a5c184b855bb083411d6547b5ac98009c7 (patch) | |
| tree | 637266e44141c8d2c7f0db92980fc74b4f9befe2 /xmake/modules/detect/sdks/find_xcode.lua | |
| parent | 97ffd7a145521e930a237e8977e73fdf3d41dbf4 (diff) | |
add apple xros support
Diffstat (limited to 'xmake/modules/detect/sdks/find_xcode.lua')
| -rw-r--r-- | xmake/modules/detect/sdks/find_xcode.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_xcode.lua b/xmake/modules/detect/sdks/find_xcode.lua index 15dbd7bcd..976df5ce1 100644 --- a/xmake/modules/detect/sdks/find_xcode.lua +++ b/xmake/modules/detect/sdks/find_xcode.lua @@ -59,6 +59,12 @@ function _find_xcode_sdkver(sdkdir, opt) else platsdkdir = "Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS*.*.sdk" end + elseif plat == "applexros" then + if arch == "i386" or arch == "x86_64" then + platsdkdir = "Contents/Developer/Platforms/XRSimulator.platform/Developer/SDKs/XRSimulator*.*.sdk" + else + platsdkdir = "Contents/Developer/Platforms/XROS.platform/Developer/XROS*.*.sdk" + end else platsdkdir = "Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX*.*.sdk" end |
