summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-26 13:42:45 +0800
committerruki <[email protected]>2016-07-26 13:42:45 +0800
commit6e92472b681d01079a564feb7820fac902f3caf5 (patch)
tree5db4a5bd805f947461573a2d49620d9b3068efec
parent31a7027dde7d4b1e21dbabdf9fb674f9c0cb43c7 (diff)
fix clean symbol bug
-rwxr-xr-xxmake/platforms/android/xmake.lua1
-rwxr-xr-xxmake/platforms/iphoneos/xmake.lua1
-rwxr-xr-xxmake/platforms/linux/xmake.lua1
-rwxr-xr-xxmake/platforms/macosx/xmake.lua1
-rwxr-xr-xxmake/platforms/mingw/xmake.lua1
-rwxr-xr-xxmake/platforms/watchos/xmake.lua1
6 files changed, 6 insertions, 0 deletions
diff --git a/xmake/platforms/android/xmake.lua b/xmake/platforms/android/xmake.lua
index 98f20c01d..e07cb788a 100755
--- a/xmake/platforms/android/xmake.lua
+++ b/xmake/platforms/android/xmake.lua
@@ -49,6 +49,7 @@ platform("android")
_g.formats.static = {"lib", ".a"}
_g.formats.object = {"", ".o"}
_g.formats.shared = {"lib", ".so"}
+ _g.formats.symbol = {"", ".sym"}
-- init flags
local arch = config.get("arch")
diff --git a/xmake/platforms/iphoneos/xmake.lua b/xmake/platforms/iphoneos/xmake.lua
index 2d7a839cf..869ab3e60 100755
--- a/xmake/platforms/iphoneos/xmake.lua
+++ b/xmake/platforms/iphoneos/xmake.lua
@@ -49,6 +49,7 @@ platform("iphoneos")
_g.formats.static = {"lib", ".a"}
_g.formats.object = {"", ".o"}
_g.formats.shared = {"lib", ".dylib"}
+ _g.formats.symbol = {"", ".sym"}
-- iphoneos or iphonesimulator?
local arch = config.get("arch")
diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua
index 29a5122cf..21f537cce 100755
--- a/xmake/platforms/linux/xmake.lua
+++ b/xmake/platforms/linux/xmake.lua
@@ -52,6 +52,7 @@ platform("linux")
_g.formats.static = {"lib", ".a"}
_g.formats.object = {"", ".o"}
_g.formats.shared = {"lib", ".so"}
+ _g.formats.symbol = {"", ".sym"}
-- cross toolchains?
if config.get("cross") then
diff --git a/xmake/platforms/macosx/xmake.lua b/xmake/platforms/macosx/xmake.lua
index b63a33ab3..95e85f518 100755
--- a/xmake/platforms/macosx/xmake.lua
+++ b/xmake/platforms/macosx/xmake.lua
@@ -52,6 +52,7 @@ platform("macosx")
_g.formats.static = {"lib", ".a"}
_g.formats.object = {"", ".o"}
_g.formats.shared = {"lib", ".dylib"}
+ _g.formats.symbol = {"", ".sym"}
-- init flags for architecture
local arch = config.get("arch")
diff --git a/xmake/platforms/mingw/xmake.lua b/xmake/platforms/mingw/xmake.lua
index 937ad77e6..66f15d7ba 100755
--- a/xmake/platforms/mingw/xmake.lua
+++ b/xmake/platforms/mingw/xmake.lua
@@ -47,6 +47,7 @@ platform("mingw")
_g.formats.object = {"", ".obj"}
_g.formats.shared = {"", ".dll"}
_g.formats.binary = {"", ".exe"}
+ _g.formats.symbol = {"", ".pdb"}
-- init flags for architecture
local archflags = nil
diff --git a/xmake/platforms/watchos/xmake.lua b/xmake/platforms/watchos/xmake.lua
index f71c0f8b4..f7a15d396 100755
--- a/xmake/platforms/watchos/xmake.lua
+++ b/xmake/platforms/watchos/xmake.lua
@@ -49,6 +49,7 @@ platform("watchos")
_g.formats.static = {"lib", ".a"}
_g.formats.object = {"", ".o"}
_g.formats.shared = {"lib", ".dylib"}
+ _g.formats.symbol = {"", ".sym"}
-- watchos or watchsimulator?
local arch = config.get("arch")