Upgraded MSVC project files for VS 2010 and modified build tool to use them.

This commit is contained in:
Scott Ehlert
2011-06-29 00:50:14 -05:00
parent 49e3b748c3
commit 9d65198786
102 changed files with 6334 additions and 8455 deletions

View File

@ -22,14 +22,14 @@ if ($^O eq "linux")
}
Build::Command(Build::PathFormat('support/versionchanger.pl') . ' --buildstring="-dev"');
my $DEVENV = "C:\\Program Files\\Microsoft Visual Studio 8\\Common7\\IDE\\devenv.com";
my $DEVENV = "C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe";
#Build the amxmodx builder tool.
chdir('installer/builder');
if ($^O eq "linux") {
Build::Command("make");
} else {
Build::Command("\"$DEVENV\" /rebuild Debug builder.csproj");
Build::Command("\"$DEVENV\" builder.csproj /p:Configuration=Release /t:Rebuild");
}
if (!(-f 'builder.exe')) {
die "Could not find build tool.\n";