diff options
| author | ruki <[email protected]> | 2017-03-20 00:17:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-20 00:17:34 +0800 |
| commit | 3efb4e5bb65e0d39f2f3571ca0eaaf76c8af8cc7 (patch) | |
| tree | 561817552fd6dedbfc7ea6cff571acec34dd1554 /xmake/tools/cl.lua | |
| parent | fb83e4e10d99bb6d7b95898dee0ef8b6b5024896 (diff) | |
optimize vs201x project plugin
Diffstat (limited to 'xmake/tools/cl.lua')
| -rw-r--r-- | xmake/tools/cl.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/tools/cl.lua b/xmake/tools/cl.lua index 3986fac90..591e40f7d 100644 --- a/xmake/tools/cl.lua +++ b/xmake/tools/cl.lua @@ -23,6 +23,7 @@ -- -- imports +import("core.project.config") import("core.project.project") -- init it @@ -196,7 +197,7 @@ function nf_language(stdname) -- select maps local maps = cmaps - if _g.kind == "cxx" or _g.kind == "mxx" then + if _g.kind == "cxx" or _g.kind == "mxx" or config.get("vs") >= "2015" then maps = {} end |
