summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vstudio/impl
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-21 09:38:45 +0800
committerruki <[email protected]>2020-06-21 09:38:45 +0800
commit6beb182abf05dcaa3786b65f6a3049067b07b17c (patch)
treed907e24269ee1309fb822cf7f6f56318d77db642 /xmake/plugins/project/vstudio/impl
parentcbad38152f8b3f27888fe1c5ff9c95acb25dc71e (diff)
remove some toolchains envs
Diffstat (limited to 'xmake/plugins/project/vstudio/impl')
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua
index 1168ae3e7..be9b54580 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x.lua
@@ -23,7 +23,6 @@ import("core.base.option")
import("core.project.config")
import("core.project.project")
import("core.platform.platform")
-import("core.platform.environment")
import("core.tool.compiler")
import("core.tool.linker")
import("vs201x_solution")
@@ -247,9 +246,6 @@ function make(outputdir, vsinfo)
-- ensure to enter project directory
os.cd(project.directory())
- -- enter environment (maybe check flags by calling tools)
- environment.enter("toolchains")
-
-- save targets
for targetname, target in pairs(project.targets()) do
if not target:isphony() then
@@ -277,9 +273,6 @@ function make(outputdir, vsinfo)
_make_targetheaders(mode, arch, target, mode_idx == #vsinfo.modes and arch_idx == 2)
end
end
-
- -- leave environment
- environment.leave("toolchains")
end
end