summaryrefslogtreecommitdiff
path: root/tests/console
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-07 16:18:45 +0800
committerruki <[email protected]>2015-06-07 16:18:45 +0800
commitf254d7f88fbbb159593cdfbadffe98498b14870c (patch)
tree0b589224a02ca43f9851d110b206aee6b94f345e /tests/console
parent70aafd951297294b4f6e8e3ec8ee5058461fa59a (diff)
add symbols, language, strip and vectorexts
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/xmake.xproj12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/console/xmake.xproj b/tests/console/xmake.xproj
index 2c72a1fc8..d6266238d 100644
--- a/tests/console/xmake.xproj
+++ b/tests/console/xmake.xproj
@@ -3,11 +3,6 @@
local configs = import("configs")
assert(configs)
- -- dump configs
--- for k, v in pairs(configs) do
--- print(k, v)
--- end
-
-- the custom script
function add(a, b)
return a + b
@@ -18,19 +13,24 @@ project: console
# the modes
modes: debug
{
+ symbols: debug
warnings: all
optimize: none
}
modes: release
{
+ strip: all
+ symbols: hidden
cflags: -Wno-error=deprecated-declarations
- warnings: all, error
+ warnings: all
optimize: smallest
+ vectorexts: sse2, ssse3, mmx
}
modes: profile
{
+ symbols: debug
warnings: none
optimize: fastest
}