From d316be4334127336822e8daeb8a45d2ffe0bdde7 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 17 Feb 2016 20:35:16 +0800 Subject: modify interfaces for xmake.lua --- tests/objc_console/xmake.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/objc_console/xmake.lua') diff --git a/tests/objc_console/xmake.lua b/tests/objc_console/xmake.lua index 478936407..ca5310578 100755 --- a/tests/objc_console/xmake.lua +++ b/tests/objc_console/xmake.lua @@ -1,5 +1,5 @@ -- the debug mode -if modes("debug") then +if is_mode("debug") then -- enable the debug symbols set_symbols("debug") @@ -9,7 +9,7 @@ if modes("debug") then end -- the release mode -if modes("release") then +if is_mode("release") then -- set the symbols visibility: hidden set_symbols("hidden") @@ -33,7 +33,7 @@ if os("macosx", "ios") then end -- add target -def_target("objc_console") +target("objc_console") -- set kind set_kind("binary") -- cgit v1.3.1