diff options
| author | ruki <[email protected]> | 2015-06-16 14:26:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-16 14:26:32 +0800 |
| commit | 608602d0de1056f856e0b6bfe33b3f5fbe641b63 (patch) | |
| tree | 845abda197164395b6ed071045d48a15c2b3e201 /tests/console | |
| parent | b02e5fc9da96945b0be2452bdbbf5b9801e68b69 (diff) | |
compile for android and ios ok
Diffstat (limited to 'tests/console')
| -rw-r--r-- | tests/console/src/demo/xmake.lua | 8 |
1 files changed, 4 insertions, 4 deletions
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") |
