diff options
| author | ruki <[email protected]> | 2019-08-31 22:51:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-31 22:51:59 +0800 |
| commit | f375773b28d671a8d4885ea09e64011106f077f9 (patch) | |
| tree | 463821f1e28bc668252c052ebfd6ef711da3d695 /xmake/modules/core/tools | |
| parent | d87ef11e59b4c84c13c680d0dd28bd9a93de39d9 (diff) | |
remove buildmodes
Diffstat (limited to 'xmake/modules/core/tools')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/cparser.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/dmd.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/fasm.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/go.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/llvm_rc.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/rc.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/rustc.lua | 9 | ||||
| -rw-r--r-- | xmake/modules/core/tools/swiftc.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/tcc.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/windres.lua | 6 | ||||
| -rw-r--r-- | xmake/modules/core/tools/yasm.lua | 6 |
15 files changed, 0 insertions, 93 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 3fbae583b..c8e20d552 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -77,12 +77,6 @@ function init(self) , ["-ftrapv"] = "" , ["-fsanitize=address"] = "" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the symbol flag diff --git a/xmake/modules/core/tools/cparser.lua b/xmake/modules/core/tools/cparser.lua index 5e34fdd63..a07f8e172 100644 --- a/xmake/modules/core/tools/cparser.lua +++ b/xmake/modules/core/tools/cparser.lua @@ -56,12 +56,6 @@ function init(self) , ["-s"] = "-s" , ["-S"] = "-S" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the strip flag diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua index 7c039319e..4ee8ecf9d 100644 --- a/xmake/modules/core/tools/dmd.lua +++ b/xmake/modules/core/tools/dmd.lua @@ -34,12 +34,6 @@ function init(self) -- init dcflags for the kind: shared self:set("shared.dcflags", "-fPIC") - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the optimize flag diff --git a/xmake/modules/core/tools/fasm.lua b/xmake/modules/core/tools/fasm.lua index 59aee4f55..ba34a8078 100644 --- a/xmake/modules/core/tools/fasm.lua +++ b/xmake/modules/core/tools/fasm.lua @@ -40,12 +40,6 @@ function init(self) , ["-ftrapv"] = "" , ["-fsanitize=address"] = "" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the define flag diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 3574f869c..301f13ec3 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -69,12 +69,6 @@ function init(self) , ["-S"] = "-Wl,-S" }) end - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the strip flag diff --git a/xmake/modules/core/tools/go.lua b/xmake/modules/core/tools/go.lua index fa6541898..450240023 100644 --- a/xmake/modules/core/tools/go.lua +++ b/xmake/modules/core/tools/go.lua @@ -31,12 +31,6 @@ function init(self) -- init the file formats self:set("formats", { static = "$(name).a" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = true - }) end -- make the optimize flag diff --git a/xmake/modules/core/tools/llvm_rc.lua b/xmake/modules/core/tools/llvm_rc.lua index ab072d507..75a1b2c8c 100644 --- a/xmake/modules/core/tools/llvm_rc.lua +++ b/xmake/modules/core/tools/llvm_rc.lua @@ -24,12 +24,6 @@ import("core.project.project") -- init it function init(self) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the define flag diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index e14cc4e50..81d7c62d5 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -55,12 +55,6 @@ function init(self) , ["-ftrapv"] = "" , ["-fsanitize=address"] = "" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the warning flag diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 8c523cf2e..ab1920552 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -49,12 +49,6 @@ function init(self) , ["-Wextra"] = "-Wreorder" , ["-Weverything"] = "-Wreorder" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the symbol flag diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua index 2c72d0575..f5050f7f3 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -24,12 +24,6 @@ import("core.project.project") -- init it function init(self) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the define flag diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index d3fbda362..730815158 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -37,15 +37,6 @@ function init(self) -- init the file formats self:set("formats", { static = "lib$(name).rlib" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false -- compile multiple source filess to the single object - , ["binary:sources"] = true -- build multiple source files to the binary target file - , ["static:sources"] = true -- build multiple source files to the static target file - , ["shared:sources"] = true -- build multiple source files to the shared target file - }) end -- make the optimize flag diff --git a/xmake/modules/core/tools/swiftc.lua b/xmake/modules/core/tools/swiftc.lua index 2b7c16709..ca1c1abf0 100644 --- a/xmake/modules/core/tools/swiftc.lua +++ b/xmake/modules/core/tools/swiftc.lua @@ -55,12 +55,6 @@ function init(self) , ["-ftrapv"] = "" , ["-fsanitize=address"] = "" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the strip flag diff --git a/xmake/modules/core/tools/tcc.lua b/xmake/modules/core/tools/tcc.lua index 1df92293c..d4fdbd60e 100644 --- a/xmake/modules/core/tools/tcc.lua +++ b/xmake/modules/core/tools/tcc.lua @@ -55,12 +55,6 @@ function init(self) , ["-s"] = "-s" , ["-S"] = "-S" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the strip flag diff --git a/xmake/modules/core/tools/windres.lua b/xmake/modules/core/tools/windres.lua index c4e4290cd..8ca259538 100644 --- a/xmake/modules/core/tools/windres.lua +++ b/xmake/modules/core/tools/windres.lua @@ -24,12 +24,6 @@ import("core.project.project") -- init it function init(self) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the define flag diff --git a/xmake/modules/core/tools/yasm.lua b/xmake/modules/core/tools/yasm.lua index d06026857..ce784e29a 100644 --- a/xmake/modules/core/tools/yasm.lua +++ b/xmake/modules/core/tools/yasm.lua @@ -43,12 +43,6 @@ function init(self) , ["-ftrapv"] = "" , ["-fsanitize=address"] = "" }) - - -- init buildmodes - self:set("buildmodes", - { - ["object:sources"] = false - }) end -- make the warning flag |
