|
@@ -17,7 +17,8 @@ local options =
|
|
, {nil, "cflags", "kv", nil, "Set the cflags." }
|
|
, {nil, "cflags", "kv", nil, "Set the cflags." }
|
|
, {nil, "cxxflags", "kv", nil, "Set the cxxflags." }
|
|
, {nil, "cxxflags", "kv", nil, "Set the cxxflags." }
|
|
, {nil, "ldflags", "kv", nil, "Set the ldflags." }
|
|
, {nil, "ldflags", "kv", nil, "Set the ldflags." }
|
|
-, {nil, "ndk", "kv", nil, "Set the android NDK directory." }
|
|
|
|
|
|
+, {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, "sdk", "kv", nil, "Set the SDK directory of cross toolchain." }
|
|
, {nil, "vs_sdkver", "kv", nil, "Set the Windows SDK version." }
|
|
, {nil, "vs_sdkver", "kv", nil, "Set the Windows SDK version." }
|
|
, {nil, "vs_runtime", "kv", nil, "Set the VS Runtime library." }
|
|
, {nil, "vs_runtime", "kv", nil, "Set the VS Runtime library." }
|
|
@@ -51,6 +52,9 @@ function _require_packages(argv, packages)
|
|
if argv.sdk then
|
|
if argv.sdk then
|
|
table.insert(config_argv, "--sdk=" .. argv.sdk)
|
|
table.insert(config_argv, "--sdk=" .. argv.sdk)
|
|
end
|
|
end
|
|
|
|
+ if argv.ndk_sdkver then
|
|
|
|
+ table.insert(config_argv, "--ndk_sdkver=" .. argv.ndk_sdkver)
|
|
|
|
+ end
|
|
if argv.vs_sdkver then
|
|
if argv.vs_sdkver then
|
|
table.insert(config_argv, "--vs_sdkver=" .. argv.vs_sdkver)
|
|
table.insert(config_argv, "--vs_sdkver=" .. argv.vs_sdkver)
|
|
end
|
|
end
|