summaryrefslogtreecommitdiff
path: root/tests/objc++_console
diff options
context:
space:
mode:
Diffstat (limited to 'tests/objc++_console')
-rwxr-xr-xtests/objc++_console/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/objc++_console/xmake.lua b/tests/objc++_console/xmake.lua
index c277fe8af..ab706d51a 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("objcpp_console")
+target("objcpp_console")
-- set kind
set_kind("binary")