diff options
| author | ruki <[email protected]> | 2016-03-03 11:07:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-03-03 11:07:43 +0800 |
| commit | af8e19e9b32faeadc816087a8d0b86e13e8f948c (patch) | |
| tree | d660c23f8803dcd82917aa002c03137ba25d9113 /xmake/actions | |
| parent | 4fa3ca927a032f57aaae44156ceeec6732c159f6 (diff) | |
adjust core architecture
Diffstat (limited to 'xmake/actions')
| -rwxr-xr-x | xmake/actions/config/xmake.lua | 12 | ||||
| -rwxr-xr-x | xmake/actions/create/xmake.lua | 4 | ||||
| -rwxr-xr-x | xmake/actions/global/xmake.lua | 7 | ||||
| -rwxr-xr-x | xmake/actions/package/xmake.lua | 4 |
4 files changed, 12 insertions, 15 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua index 9efde3222..0a507f70b 100755 --- a/xmake/actions/config/xmake.lua +++ b/xmake/actions/config/xmake.lua @@ -46,7 +46,7 @@ task("config") {'c', "clean", "k", nil, "Clean the cached configure and configure all again." } , {} - , {'p', "plat", "kv", "$(host)", "Compile for the given platform." +--[[ , {'p', "plat", "kv", "$(host)", "Compile for the given platform." -- show the description of all platforms , function () @@ -83,7 +83,7 @@ task("config") -- get it return description end } - , {'m', "mode", "kv", "release", "Compile for the given mode." +]] , {'m', "mode", "kv", "release", "Compile for the given mode." , " - debug" , " - release" , " - profile" } @@ -94,7 +94,7 @@ task("config") , {nil, "host", "kv", "$(host)", "The current host environment." } -- show menu for project - , function () +--[[ , function () -- import platform import("core.project") @@ -102,7 +102,7 @@ task("config") -- get menu for project return project.menu() end - +]] , {} , {nil, "make", "kv", "auto", "Set the make path." } , {nil, "ccache", "kv", "auto", "Enable or disable the c/c++ compiler cache." } @@ -142,7 +142,7 @@ task("config") , {nil, "shflags", "kv", nil, "The Shared Library Linker Flags" } -- show menu for platform - , function () +--[[ , function () -- import platform import("core.platform") @@ -150,7 +150,7 @@ task("config") -- get menu for platform return platform.menu("config") end - +]] , {'o', "buildir", "kv", "build", "Set the build directory." } diff --git a/xmake/actions/create/xmake.lua b/xmake/actions/create/xmake.lua index 9225ee771..40880c99a 100755 --- a/xmake/actions/create/xmake.lua +++ b/xmake/actions/create/xmake.lua @@ -38,7 +38,7 @@ task("create") , options = { {'n', "name", "kv", nil, "The project name." } - , {'l', "language", "kv", "c", "The project language" +--[[ , {'l', "language", "kv", "c", "The project language" -- show the description of all languages , function () @@ -75,7 +75,7 @@ task("create") -- get it return description end } - +]] , {} , {nil, "target", "v", nil, "Create the given target." , "Uses the project name as target if not exists." } diff --git a/xmake/actions/global/xmake.lua b/xmake/actions/global/xmake.lua index c71f27d15..fa2023c58 100755 --- a/xmake/actions/global/xmake.lua +++ b/xmake/actions/global/xmake.lua @@ -29,9 +29,6 @@ task("global") -- on run on_task_run(function () - -- imports - import("core.option") - import("core.global") end) @@ -58,7 +55,7 @@ task("global") , {} -- show menu for platform - , function () +--[[ , function () -- import platform import("core.platform") @@ -66,7 +63,7 @@ task("global") -- get menu for platform return platform.menu("global") end - +]] } }) diff --git a/xmake/actions/package/xmake.lua b/xmake/actions/package/xmake.lua index c0fdb9771..ccb878ceb 100755 --- a/xmake/actions/package/xmake.lua +++ b/xmake/actions/package/xmake.lua @@ -40,7 +40,7 @@ task("package") -- options , options = { - {'a', "archs", "kv", nil, "Package multiple given architectures." +--[[ {'a', "archs", "kv", nil, "Package multiple given architectures." , " .e.g --archs=\"armv7, arm64\" or -a i386" , "" -- show the description of all architectures @@ -62,7 +62,7 @@ task("package") return description end } - , {'o', "outputdir", "kv", nil, "Set the output directory." } + ,]] {'o', "outputdir", "kv", nil, "Set the output directory." } , {} , {nil, "target", "v", "all", "Package a given target" } |
