From 608602d0de1056f856e0b6bfe33b3f5fbe641b63 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 16 Jun 2015 14:26:32 +0800 Subject: compile for android and ios ok --- tests/console/src/demo/xmake.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/console/src') diff --git a/tests/console/src/demo/xmake.lua b/tests/console/src/demo/xmake.lua index 9d70a95e6..9b502e579 100644 --- a/tests/console/src/demo/xmake.lua +++ b/tests/console/src/demo/xmake.lua @@ -9,10 +9,10 @@ add_target("demo_c") add_cflags("-DHELLO1") if modes("release") then add_defines("NDEBUG") end - if option("option1") then add_defines("OPTION1") end - if option("option2") then add_defines("OPTION2") end - if option("option3") then add_defines("OPTION3") end - if option("option4") then add_defines("OPTION4") end + if options("option1") then add_defines("OPTION1") end + if options("option2") then add_defines("OPTION2") end + if options("option3") then add_defines("OPTION3") end + if options("option4") then add_defines("OPTION4") end add_target("demo_cpp") set_kind("binary") -- cgit v1.3.1