summaryrefslogtreecommitdiff
path: root/xmake/platforms/macosx/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-05-27 13:25:19 +0800
committerruki <[email protected]>2016-05-27 13:25:19 +0800
commitba420896702097733403ec8e3ce56b8ee4e54e88 (patch)
treea5af327e962cba4b8715f68ec45c912f651346c9 /xmake/platforms/macosx/xmake.lua
parent93a7da63ce2be9f8125c8886c3f319d866d4e439 (diff)
modify interpreter interfaces
Diffstat (limited to 'xmake/platforms/macosx/xmake.lua')
-rwxr-xr-xxmake/platforms/macosx/xmake.lua50
1 files changed, 25 insertions, 25 deletions
diff --git a/xmake/platforms/macosx/xmake.lua b/xmake/platforms/macosx/xmake.lua
index 5c12d40e8..38f60a11d 100755
--- a/xmake/platforms/macosx/xmake.lua
+++ b/xmake/platforms/macosx/xmake.lua
@@ -24,19 +24,19 @@
platform("macosx")
-- set os
- set_platform_os("macosx")
+ set_os("macosx")
-- set hosts
- set_platform_hosts("macosx")
+ set_hosts("macosx")
-- set archs
- set_platform_archs("i386", "x86_64")
+ set_archs("i386", "x86_64")
-- set checker
- set_platform_checker("checker")
+ set_checker("checker")
-- on load
- on_platform_load(function ()
+ on_load(function ()
-- imports
import("core.project.config")
@@ -98,27 +98,27 @@ platform("macosx")
end)
-- set menu
- set_platform_menu({
- config =
- {
- {}
- , {nil, "mm", "kv", nil, "the objc compiler" }
- , {nil, "mxx", "kv", nil, "the objc++ compiler" }
- , {nil, "mflags", "kv", nil, "the objc compiler flags" }
- , {nil, "mxflags", "kv", nil, "the objc/c++ compiler flags" }
- , {nil, "mxxflags", "kv", nil, "the objc++ compiler flags" }
- , {}
- , {nil, "xcode_dir", "kv", "auto", "the xcode application directory" }
- , {nil, "xcode_sdkver", "kv", "auto", "the sdk version for xcode" }
- , {nil, "target_minver", "kv", "auto", "the target minimal version" }
- }
+ set_menu({
+ config =
+ {
+ {}
+ , {nil, "mm", "kv", nil, "the objc compiler" }
+ , {nil, "mxx", "kv", nil, "the objc++ compiler" }
+ , {nil, "mflags", "kv", nil, "the objc compiler flags" }
+ , {nil, "mxflags", "kv", nil, "the objc/c++ compiler flags" }
+ , {nil, "mxxflags", "kv", nil, "the objc++ compiler flags" }
+ , {}
+ , {nil, "xcode_dir", "kv", "auto", "the xcode application directory" }
+ , {nil, "xcode_sdkver", "kv", "auto", "the sdk version for xcode" }
+ , {nil, "target_minver", "kv", "auto", "the target minimal version" }
+ }
- , global =
- {
- {}
- , {nil, "xcode_dir", "kv", "auto", "the xcode application directory" }
- }
- })
+ , global =
+ {
+ {}
+ , {nil, "xcode_dir", "kv", "auto", "the xcode application directory" }
+ }
+ })