|
@@ -6,32 +6,35 @@ import("packages", {alias = "get_packages"})
|
|
|
-- the options
|
|
|
local options =
|
|
|
{
|
|
|
- {'v', "verbose", "k", nil, "Enable verbose information." }
|
|
|
-, {'D', "diagnosis", "k", nil, "Enable diagnosis information." }
|
|
|
-, {nil, "shallow", "k", nil, "Only install the root packages." }
|
|
|
-, {'k', "kind", "kv", nil, "Enable static/shared library." }
|
|
|
-, {'p', "plat", "kv", nil, "Set the given platform." }
|
|
|
-, {'a', "arch", "kv", nil, "Set the given architecture." }
|
|
|
-, {'m', "mode", "kv", nil, "Set the given mode." }
|
|
|
-, {'j', "jobs", "kv", nil, "Set the build jobs." }
|
|
|
-, {'f', "configs", "kv", nil, "Set the configs." }
|
|
|
-, {'d', "debugdir", "kv", nil, "Set the debug source directory." }
|
|
|
-, {nil, "fetch", "k", nil, "Fetch package only." }
|
|
|
-, {nil, "precompiled","k", nil, "Attemp to install the precompiled package." }
|
|
|
-, {nil, "linkjobs", "kv", nil, "Set the link jobs." }
|
|
|
-, {nil, "cflags", "kv", nil, "Set the cflags." }
|
|
|
-, {nil, "cxxflags", "kv", nil, "Set the cxxflags." }
|
|
|
-, {nil, "ldflags", "kv", nil, "Set the ldflags." }
|
|
|
-, {nil, "ndk", "kv", nil, "Set the Android NDK directory." }
|
|
|
-, {nil, "ndk_sdkver", "kv", nil, "Set the Android NDK platform sdk version." }
|
|
|
-, {nil, "sdk", "kv", nil, "Set the SDK directory of cross toolchain." }
|
|
|
-, {nil, "vs", "kv", nil, "Set the VS Compiler version." }
|
|
|
-, {nil, "vs_sdkver", "kv", nil, "Set the Windows SDK version." }
|
|
|
-, {nil, "vs_toolset", "kv", nil, "Set the Windows Toolset version." }
|
|
|
-, {nil, "vs_runtime", "kv", nil, "Set the VS Runtime library." }
|
|
|
-, {nil, "mingw", "kv", nil, "Set the MingW directory." }
|
|
|
-, {nil, "toolchain", "kv", nil, "Set the toolchain name." }
|
|
|
-, {nil, "packages", "vs", nil, "The package list." }
|
|
|
+ {'v', "verbose", "k", nil, "Enable verbose information." }
|
|
|
+, {'D', "diagnosis", "k", nil, "Enable diagnosis information." }
|
|
|
+, {nil, "shallow", "k", nil, "Only install the root packages." }
|
|
|
+, {'k', "kind", "kv", nil, "Enable static/shared library." }
|
|
|
+, {'p', "plat", "kv", nil, "Set the given platform." }
|
|
|
+, {'a', "arch", "kv", nil, "Set the given architecture." }
|
|
|
+, {'m', "mode", "kv", nil, "Set the given mode." }
|
|
|
+, {'j', "jobs", "kv", nil, "Set the build jobs." }
|
|
|
+, {'f', "configs", "kv", nil, "Set the configs." }
|
|
|
+, {'d', "debugdir", "kv", nil, "Set the debug source directory." }
|
|
|
+, {nil, "fetch", "k", nil, "Fetch package only." }
|
|
|
+, {nil, "precompiled", "k", nil, "Attemp to install the precompiled package." }
|
|
|
+, {nil, "linkjobs", "kv", nil, "Set the link jobs." }
|
|
|
+, {nil, "cflags", "kv", nil, "Set the cflags." }
|
|
|
+, {nil, "cxxflags", "kv", nil, "Set the cxxflags." }
|
|
|
+, {nil, "ldflags", "kv", nil, "Set the ldflags." }
|
|
|
+, {nil, "ndk", "kv", nil, "Set the Android NDK directory." }
|
|
|
+, {nil, "ndk_sdkver", "kv", nil, "Set the Android NDK platform sdk version." }
|
|
|
+, {nil, "sdk", "kv", nil, "Set the SDK directory of cross toolchain." }
|
|
|
+, {nil, "vs", "kv", nil, "Set the VS Compiler version." }
|
|
|
+, {nil, "vs_sdkver", "kv", nil, "Set the Windows SDK version." }
|
|
|
+, {nil, "vs_toolset", "kv", nil, "Set the Windows Toolset version." }
|
|
|
+, {nil, "vs_runtime", "kv", nil, "Set the VS Runtime library." }
|
|
|
+, {nil, "xcode_sdkver", "kv", nil, "The SDK Version for Xcode" }
|
|
|
+, {nil, "target_minver", "kv", nil, "The Target Minimal Version" }
|
|
|
+, {nil, "appledev", "kv", nil, "The Apple Device Type" }
|
|
|
+, {nil, "mingw", "kv", nil, "Set the MingW directory." }
|
|
|
+, {nil, "toolchain", "kv", nil, "Set the toolchain name." }
|
|
|
+, {nil, "packages", "vs", nil, "The package list." }
|
|
|
}
|
|
|
|
|
|
|