diff options
| author | ruki <[email protected]> | 2015-06-09 15:13:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-09 15:13:59 +0800 |
| commit | bf0040998da482cb640a3637fd91e36a0495b27b (patch) | |
| tree | a793de42032147ebb2577fe9c38439ec2c36e800 /tests | |
| parent | f6fec59106383347489ed77bb1896a9ccf5bbb2d (diff) | |
add archs interfaces
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/console/src/demo/xmake.lua | 5 | ||||
| -rw-r--r-- | tests/console/xmake.lua | 1 |
2 files changed, 3 insertions, 3 deletions
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") |
