diff options
| author | ruki <[email protected]> | 2023-09-14 00:48:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-14 00:48:59 +0800 |
| commit | b32a99a626e374337a30388aa7abdba8a4f2d593 (patch) | |
| tree | 93c29b5b2dfb01488393dd8ddcdd02677d3b95ae | |
| parent | 852a05aa097d105bd4d200fdda558a31dc4f740d (diff) | |
improve xrepo install help
| -rw-r--r-- | xmake/modules/private/xrepo/action/install.lua | 2 | ||||
| -rw-r--r-- | xmake/platforms/macosx/xmake.lua | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/install.lua b/xmake/modules/private/xrepo/action/install.lua index 90aff97ca..dfcaadf80 100644 --- a/xmake/modules/private/xrepo/action/install.lua +++ b/xmake/modules/private/xrepo/action/install.lua @@ -75,7 +75,7 @@ function menu_options() {nil, "xcode", "kv", nil, "The Xcode Application Directory" }, {nil, "xcode_sdkver", "kv", nil, "The SDK Version for Xcode" }, {nil, "target_minver", "kv", nil, "The Target Minimal Version" }, - {nil, "appledev", "kv", nil, "The Apple Device Type" }, + {nil, "appledev", "kv", nil, "The Apple Device Type", values = {"simulator", "iphone", "watchtv", "appletv", "catalyst"}}, {category = "Debug Configuration" }, {'d', "debugdir", "kv", nil, "The source directory of the current package for debugging. It will enable --force/--shallow by default."}, {category = "Other Configuration" }, diff --git a/xmake/platforms/macosx/xmake.lua b/xmake/platforms/macosx/xmake.lua index 298e6dd2d..243908c56 100644 --- a/xmake/platforms/macosx/xmake.lua +++ b/xmake/platforms/macosx/xmake.lua @@ -53,6 +53,8 @@ platform("macosx") , {nil, "xcode_codesign_identity", "kv", "auto", "The Codesign Identity for Xcode" } , {nil, "xcode_mobile_provision", "kv", "auto", "The Mobile Provision for Xcode" } , {nil, "target_minver", "kv", "auto", "The Target Minimal Version" } + , {nil, "appledev", "kv", nil, "The Apple Device Type", + values = {"simulator", "iphone", "watchtv", "appletv", "catalyst"}} , {category = "Cuda SDK Configuration" } , {nil, "cuda", "kv", "auto", "The Cuda SDK Directory" } , {category = "Qt SDK Configuration" } |
