summaryrefslogtreecommitdiff
path: root/xmake/core/project/option.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-23 23:49:51 +0800
committerruki <[email protected]>2020-12-23 23:49:51 +0800
commit414e6f39860680b693263fd97daa77c48dc5e143 (patch)
tree9b99a62fcf5f0f30ad18beb8e1ba56cad320bb82 /xmake/core/project/option.lua
parent50f826bb2df51dd80eb67054e446a496f2b6d15a (diff)
improve project
Diffstat (limited to 'xmake/core/project/option.lua')
-rw-r--r--xmake/core/project/option.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua
index 4cee0d494..e7d1c159c 100644
--- a/xmake/core/project/option.lua
+++ b/xmake/core/project/option.lua
@@ -239,21 +239,13 @@ end
-- set the option value
function _instance:set_value(value)
-
- -- set value to option
config.set(self:name(), value)
-
- -- save option
self:_save()
end
-- clear the option status and need recheck it
function _instance:clear()
-
- -- clear config
config.set(self:name(), nil)
-
- -- clear this option in cache
self:_clear()
end