summaryrefslogtreecommitdiff
path: root/xmake/actions/config/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-11-24 22:30:28 +0800
committerruki <[email protected]>2022-11-24 22:30:28 +0800
commitb4571d58c1618cd26d3fb9b0be610ebc397c668d (patch)
treeb01e0dc9fc7e1e9e01b19c74e77cf1c99067fe11 /xmake/actions/config/xmake.lua
parent938183e9c09c62d10485e7aa4e2b94eab2756cd3 (diff)
just check configs
Diffstat (limited to 'xmake/actions/config/xmake.lua')
-rw-r--r--xmake/actions/config/xmake.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua
index b54066835..50c22206e 100644
--- a/xmake/actions/config/xmake.lua
+++ b/xmake/actions/config/xmake.lua
@@ -165,16 +165,17 @@ task("config")
description = "Configure the project.",
shortname = 'f',
options = {
- {'c', "clean", "k", nil , "Clean the cached configure and configure all again."},
+ {'c', "clean", "k", nil , "Clean the cached user configs and detection cache."},
+ {nil, "check", "k", nil , "Just ignore detection cache and force to check all, it will reserve the cached user configs."},
{nil, "export", "kv", nil , "Export the current configuration to the given file."
, " e.g."
, " - xmake f -m debug -xxx=y --export=build/config.txt"},
- {nil, "import", "kv", nil , "Import configuration from the given file."
+ {nil, "import", "kv", nil , "Import configs from the given file."
, " e.g."
, " - xmake f -import=build/config.txt"},
{nil, "menu", "k", nil , "Configure project with a menu-driven user interface."},
{category = "."},
- {'p', "plat", "kv", "auto" , "Compile for the given platform.", values = _plat_values},
+ {'p', "plat", "kv", "auto" , "Compile for the given platform.", values = _plat_values},
{'a', "arch", "kv", "auto" , "Compile for the given architecture.", _arch_description, values = _arch_values},
{'m', "mode", "kv", "auto" , "Compile for the given mode.", values = _mode_values},
{'k', "kind", "kv", "static" , "Compile for the given target kind.", values = {"static", "shared", "binary"}},