diff options
| author | ruki <[email protected]> | 2017-07-14 22:05:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-14 22:05:03 +0800 |
| commit | c3576499ce8251ce6bf8610eb7b2b67d3e34a61b (patch) | |
| tree | d8a7167d73d2e6f39c0446d6d02652e0e1ac21f3 /xmake/modules/core | |
| parent | ff2e7977ac754b4c3a996b5558d8c5068d7c4bf5 (diff) | |
rename feature to buildmode
Diffstat (limited to 'xmake/modules/core')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/dmd.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/go.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/ml.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/rc.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/rustc.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/swiftc.lua | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 45b49e85c..81146817e 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -78,8 +78,8 @@ function init(self) , ["-fsanitize=address"] = "" } - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false } diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua index ed30223cc..d7353c60e 100644 --- a/xmake/modules/core/tools/dmd.lua +++ b/xmake/modules/core/tools/dmd.lua @@ -40,8 +40,8 @@ function init(self) _g.shared = {} _g.shared.dcflags = {"-fPIC"} - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false } diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index ef91c81e6..0c0d27ac5 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -66,8 +66,8 @@ function init(self) , ["-S"] = "-S" } - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false } diff --git a/xmake/modules/core/tools/go.lua b/xmake/modules/core/tools/go.lua index 47630f291..521e13fde 100644 --- a/xmake/modules/core/tools/go.lua +++ b/xmake/modules/core/tools/go.lua @@ -37,8 +37,8 @@ function init(self) _g.formats = {} _g.formats.static = {"", ".a"} - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = true } diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index 207580dbc..6bc3ec4d1 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -52,8 +52,8 @@ function init(self) , ["-fsanitize=address"] = "" } - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false } diff --git a/xmake/modules/core/tools/rc.lua b/xmake/modules/core/tools/rc.lua index 4f39181bf..f6feecb56 100644 --- a/xmake/modules/core/tools/rc.lua +++ b/xmake/modules/core/tools/rc.lua @@ -29,8 +29,8 @@ import("core.project.project") -- init it function init(self) - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false } diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index 6e102f69d..4ef749b07 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -43,8 +43,8 @@ function init(self) _g.formats = {} _g.formats.static = {"lib", ".rlib"} - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false -- compile multiple source filess to the single object , ["binary:sources"] = true -- build multiple source files to the binary target file diff --git a/xmake/modules/core/tools/swiftc.lua b/xmake/modules/core/tools/swiftc.lua index 4ce63567c..714d2b1b1 100644 --- a/xmake/modules/core/tools/swiftc.lua +++ b/xmake/modules/core/tools/swiftc.lua @@ -56,8 +56,8 @@ function init(self) , ["-fsanitize=address"] = "" } - -- init features - _g.features = + -- init buildmodes + _g.buildmodes = { ["object:sources"] = false } |
