diff options
| author | ruki <[email protected]> | 2020-05-14 23:33:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-14 15:23:15 +0800 |
| commit | 82fe3d23b2ee9199a540326d8382fea212b23cfa (patch) | |
| tree | 7dc1ed986f8c168e7054c92f32ac78e4f6c9a2c1 | |
| parent | 58346890166cc94258b438e3ec52038cbf3a3453 (diff) | |
adjust config args
| -rw-r--r-- | xmake/actions/config/xmake.lua | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua index 894e7eb12..4953fc718 100644 --- a/xmake/actions/config/xmake.lua +++ b/xmake/actions/config/xmake.lua @@ -51,16 +51,6 @@ task("config") return {"y: force to enable", "n: disable" } end end } - , {nil, "trybuild", "kv", nil , "Enable try-build mode and set the third-party buildsystem tool.", - "e.g.", - " - xmake f --trybuild=auto; xmake", - " - xmake f --trybuild=autotools -p android --ndk=xxx; xmake", - "", - "the third-party buildsystems:" - , values = {"auto", "make", "autotools", "cmake", "scons", "meson", "bazel", "ninja", "msbuild", "xcodebuild", "ndkbuild"}} - , {nil, "tryconfigs", "kv", nil , "Set the extra configurations of the third-party buildsystem for the try-build mode.", - "e.g.", - " - xmake f --trybuild=autotools --tryconfigs='--enable-shared=no'"} , {category = "."} , {'p', "plat", "kv", "$(subhost)" , "Compile for the given platform." , values = function (complete, opt) @@ -193,6 +183,16 @@ task("config") , {category = "Other Configuration"} , {nil, "debugger", "kv", "auto" , "The Debugger" } , {nil, "ccache", "kv", true , "Enable or disable the c/c++ compiler cache." } + , {nil, "trybuild", "kv", nil , "Enable try-build mode and set the third-party buildsystem tool.", + "e.g.", + " - xmake f --trybuild=auto; xmake", + " - xmake f --trybuild=autotools -p android --ndk=xxx; xmake", + "", + "the third-party buildsystems:" + , values = {"auto", "make", "autotools", "cmake", "scons", "meson", "bazel", "ninja", "msbuild", "xcodebuild", "ndkbuild"}} + , {nil, "tryconfigs", "kv", nil , "Set the extra configurations of the third-party buildsystem for the try-build mode.", + "e.g.", + " - xmake f --trybuild=autotools --tryconfigs='--enable-shared=no'"} , {'o', "buildir", "kv", "build" , "Set the build directory." } , {} |
