summaryrefslogtreecommitdiff
path: root/xmake/actions/config/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-18 22:35:50 +0800
committerruki <[email protected]>2020-02-18 09:35:01 +0800
commit753309f3eca9445904c2e70d99fcdc49a67e5add (patch)
tree141d7d83ff6cbe8782c9ab85f981d993f573cfb8 /xmake/actions/config/xmake.lua
parent0835cadcfe5f48870790cce20d6a3968d7b1ccf7 (diff)
move trybuild config
Diffstat (limited to 'xmake/actions/config/xmake.lua')
-rw-r--r--xmake/actions/config/xmake.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua
index bf9272c63..571daca36 100644
--- a/xmake/actions/config/xmake.lua
+++ b/xmake/actions/config/xmake.lua
@@ -51,6 +51,11 @@ task("config")
return {"y: force to enable", "n: disable" }
end
end }
+ , {nil, "trybuild", "kv", nil , "Try building and set the third-party buildsystem tool.",
+ "e.g.",
+ " - xmake f --trybuild=auto; xmake",
+ " - xmake f --trybuild=autotools -p android --ndk=xxx; xmake"
+ , values = {"auto", "make", "cmake", "autotools", "msbuild", "xcodebuild"}}
, {category = "."}
, {'p', "plat", "kv", "$(subhost)" , "Compile for the given platform."