summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-05 11:41:23 +0800
committerruki <[email protected]>2015-06-05 11:41:23 +0800
commit9c4c565ef5cba3c668b338ed0066cff0d58e8caa (patch)
tree1976b7ca1c84e29d4a812a67f46834cd1fa98b57 /xmake/scripts/base/main.lua
parent4fd209354ecf8a6f90b5a19a18e2268e3c9d649f (diff)
clearup config and global
Diffstat (limited to 'xmake/scripts/base/main.lua')
-rw-r--r--xmake/scripts/base/main.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/scripts/base/main.lua b/xmake/scripts/base/main.lua
index df9e00105..962f1b873 100644
--- a/xmake/scripts/base/main.lua
+++ b/xmake/scripts/base/main.lua
@@ -429,6 +429,9 @@ function main._prepare_global()
-- probe the global platform configure
platform.probe(global_wrapped, true)
+
+ -- clear up the global configure
+ global.clearup()
end
-- ok
@@ -484,6 +487,9 @@ function main._prepare_project()
-- probe the current platform configure
platform.probe(config_wrapped, false)
+ -- clear up the configure
+ config.clearup()
+
end
-- merge the default options