diff options
| author | ruki <[email protected]> | 2015-12-08 11:21:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-08 11:21:18 +0800 |
| commit | 75a2bc862eae7ed95ddee16e4271b773c95aeb65 (patch) | |
| tree | 2480fec4245d006a52217fe6873852cc9ae1ee07 /xmake/scripts/platform/macosx/macosx.lua | |
| parent | 023bbfadd3a05f42e858a2a055bdf2f24f21aa78 (diff) | |
add swift compiler
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" } , } |
