|
|
|
@ -21,7 +21,9 @@ local options = |
|
|
|
|
, {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." } |
|
|
|
@ -56,9 +58,15 @@ function _require_packages(argv, packages) |
|
|
|
|
if argv.ndk_sdkver then |
|
|
|
|
table.insert(config_argv, "--ndk_sdkver=" .. argv.ndk_sdkver) |
|
|
|
|
end |
|
|
|
|
if argv.vs then |
|
|
|
|
table.insert(config_argv, "--vs=" .. argv.vs) |
|
|
|
|
end |
|
|
|
|
if argv.vs_sdkver then |
|
|
|
|
table.insert(config_argv, "--vs_sdkver=" .. argv.vs_sdkver) |
|
|
|
|
end |
|
|
|
|
if argv.vs_toolset then |
|
|
|
|
table.insert(config_argv, "--vs_toolset=" .. argv.vs_toolset) |
|
|
|
|
end |
|
|
|
|
if argv.vs_runtime then |
|
|
|
|
table.insert(config_argv, "--vs_runtime=" .. argv.vs_runtime) |
|
|
|
|
end |
|
|
|
|