From bf0040998da482cb640a3637fd91e36a0495b27b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 9 Jun 2015 15:13:59 +0800 Subject: add archs interfaces --- tests/console/src/demo/xmake.lua | 5 ++--- tests/console/xmake.lua | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/console/src/demo/xmake.lua b/tests/console/src/demo/xmake.lua index 3c80d97d1..b8614c40b 100644 --- a/tests/console/src/demo/xmake.lua +++ b/tests/console/src/demo/xmake.lua @@ -14,14 +14,13 @@ target("demo_cpp") kind("binary") deps("hello2") files("src/demo/*.cpp") - version("1.0.1") configfile("$(buildir)/demo_cpp.h") linkdirs("$(buildir)") includedirs("$(buildir)") undefines("HELLO2") cxxflags("-DHELLO1") - if platforms("macosx", "ios") then + if plats("macosx", "ios") then target("demo_objc") kind("binary") @@ -39,7 +38,7 @@ target("demo_cpp") mxflags("-DHELLO3") ldflags("-L$(buildir)/lib", "-lhello3", "-lhello3") - if platforms("ios") then + if plats("ios") then ldflags("-framework Cocoa", "-framework IOKit", "-framework CoreFoundation") end end diff --git a/tests/console/xmake.lua b/tests/console/xmake.lua index 4c90a75fe..40a940830 100644 --- a/tests/console/xmake.lua +++ b/tests/console/xmake.lua @@ -1,3 +1,4 @@ +version("1.0.1") if modes("debug") then symbols("debug") -- cgit v1.3.1