Switch to vcbuilder.exe since devenv.com is not available in express editions.
This commit is contained in:
parent
88a71ddad4
commit
8f555543cc
@ -17,7 +17,7 @@ if ($^O eq "linux")
|
||||
}
|
||||
else
|
||||
{
|
||||
Build::Command('"' . $ENV{'MSVC9'} . '" /Rebuild Release builder.csproj');
|
||||
Build::Command('"' . $ENV{'VC9BUILDER'} . '" /rebuild builder.csproj Release');
|
||||
Build::Command('move ' . Build::PathFormat('bin/Release/builder.exe') . ' .');
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ if ($^O eq "linux")
|
||||
}
|
||||
else
|
||||
{
|
||||
print CONF "BuilderPath = " . $ENV{'MSVC9'} . "\n";
|
||||
print CONF "BuilderPath = " . $ENV{'VC9BUILDER'} . "\n";
|
||||
print CONF "PDBLog = $root\\OUTPUT\\pdblog.txt\n";
|
||||
}
|
||||
close(CONF);
|
||||
|
@ -82,7 +82,7 @@ namespace builder
|
||||
info.Arguments = cfg.build_options + " ";
|
||||
}
|
||||
|
||||
info.Arguments += "/rebuild \"" + config_name + "\" " + project_file;
|
||||
info.Arguments += "/rebuild \"" + project_file + "\" \"" + config_name + "\"";
|
||||
|
||||
Process p = Process.Start(info);
|
||||
Console.WriteLine(p.StandardOutput.ReadToEnd());
|
||||
|
Loading…
Reference in New Issue
Block a user