summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-23 22:37:44 +0800
committerGitHub <[email protected]>2020-06-23 22:37:44 +0800
commitc18d15eb89116a0f3ce96bd56f3ccf861849f6ec (patch)
tree52b63db3274349f9a41872414208c7c30058cfd7 /xmake/plugins/project/main.lua
parent53df324acd9c7432336a5894ceef578daa1ce38d (diff)
parent18bded45c229f5580c13fc8b4afc5edb6f18819a (diff)
Merge pull request #857 from xmake-io/toolchain
Improve toolchain to support host and cross toolchains at same time
Diffstat (limited to 'xmake/plugins/project/main.lua')
-rwxr-xr-xxmake/plugins/project/main.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/xmake/plugins/project/main.lua b/xmake/plugins/project/main.lua
index 0cb8d0d0e..7090413ed 100755
--- a/xmake/plugins/project/main.lua
+++ b/xmake/plugins/project/main.lua
@@ -22,7 +22,6 @@
import("core.base.option")
import("core.base.task")
import("core.project.config")
-import("core.platform.environment")
import("make.makefile")
import("make.xmakefile")
import("cmake.cmakelists")
@@ -82,15 +81,9 @@ function main()
-- config it first
task.run("config")
- -- enter toolchains environment
- environment.enter("toolchains")
-
-- make project
_make(option.get("kind"))
- -- leave toolchains environment
- environment.leave("toolchains")
-
-- trace
cprint("${color.success}create ok!")
end