Switch to vcbuilder.exe since devenv.com is not available in express editions.

This commit is contained in:
David Anderson 2008-09-27 16:19:56 -07:00
parent 88a71ddad4
commit 8f555543cc
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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());