diff options
Diffstat (limited to 'xmake/scripts/platform/macosx/macosx.lua')
| -rw-r--r-- | xmake/scripts/platform/macosx/macosx.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/scripts/platform/macosx/macosx.lua b/xmake/scripts/platform/macosx/macosx.lua index c7f4eb2c4..699e3e506 100644 --- a/xmake/scripts/platform/macosx/macosx.lua +++ b/xmake/scripts/platform/macosx/macosx.lua @@ -56,6 +56,7 @@ function macosx.make(configs) configs.tools.ar = config.get("ar") configs.tools.sh = config.get("sh") configs.tools.ex = config.get("ar") + configs.tools.sc = config.get("sc") -- init flags for architecture local archflags = nil @@ -97,6 +98,9 @@ function macosx.menu(action) , {nil, "mxflags", "kv", nil, "The Objc/c++ Compiler Flags" } , {nil, "mxxflags", "kv", nil, "The Objc++ Compiler Flags" } , {} + , {nil, "sc", "kv", nil, "The Swift Compiler" } + , {nil, "scflags", "kv", nil, "The Swift Compiler Flags" } + , {} , {nil, "xcode_dir", "kv", "auto", "The Xcode Application Directory" } , {nil, "xcode_sdkver", "kv", "auto", "The SDK Version for Xcode" } , } |
