|
|
|
@ -13,7 +13,7 @@ function get_msbuild_path()
@@ -13,7 +13,7 @@ function get_msbuild_path()
|
|
|
|
|
error("MSBuild path could not be found in Windows registry.") |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
function msbuild(sln, conf) |
|
|
|
|
function msbuild(sln, conf, platform) |
|
|
|
|
local msbuild_path = "msbuild.exe" |
|
|
|
|
local sln = path.normalize(sln) |
|
|
|
|
|
|
|
|
@ -22,6 +22,10 @@ function msbuild(sln, conf)
@@ -22,6 +22,10 @@ function msbuild(sln, conf)
|
|
|
|
|
cmd = cmd .. " /p:Configuration=" .. conf |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
if platform ~= nil then |
|
|
|
|
cmd = cmd .. " /p:Platform=" .. platform |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
execute_or_die(cmd) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|