Changeset 56419 in webkit


Ignore:
Timestamp:
Mar 23, 2010 2:47:24 PM (14 years ago)
Author:
dbates@webkit.org
Message:

2010-03-23 Daniel Bates <dbates@rim.com>

Reviewed by Adam Roben.

https://bugs.webkit.org/show_bug.cgi?id=36048

Detect if the Windows Platform SDK is missing when building with
Visual C++ Express Edition and inform the user to download it.

  • Scripts/webkitdirs.pm:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56417 r56419  
     12010-03-23  Daniel Bates  <dbates@rim.com>
     2
     3        Reviewed by Adam Roben.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=36048
     6
     7        Detect if the Windows Platform SDK is missing when building with
     8        Visual C++ Express Edition and inform the user to download it.
     9
     10        * Scripts/webkitdirs.pm:
     11
    1122010-03-23  Darin Adler  <darin@apple.com>
    213
  • trunk/WebKitTools/Scripts/webkitdirs.pm

    r56160 r56419  
    7373my $windowsTmpPath;
    7474my $windowsSourceDir;
     75my $willUseVCExpressWhenBuilding = 0;
    7576
    7677# Defined in VCSUtils.
     
    10271028            die;
    10281029        }
     1030        $willUseVCExpressWhenBuilding = 1;
    10291031    }
    10301032
     
    10461048    print "WEBKITOUTPUTDIR is set to: ", $ENV{"WEBKITOUTPUTDIR"}, "\n";
    10471049    print "WEBKITLIBRARIESDIR is set to: ", $ENV{"WEBKITLIBRARIESDIR"}, "\n";
     1050}
     1051
     1052sub dieIfWindowsPlatformSDKNotInstalled
     1053{
     1054    my $windowsPlatformSDKRegistryEntry = "/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1";
     1055
     1056    return if -e $windowsPlatformSDKRegistryEntry;
     1057
     1058    print "*************************************************************\n";
     1059    print "Cannot find '$windowsPlatformSDKRegistryEntry'.\n";
     1060    print "Please download and install the Microsoft Windows Server 2003 R2\n";
     1061    print "Platform SDK from <http://www.microsoft.com/downloads/details.aspx?\n";
     1062    print "familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en>.\n\n";
     1063    print "Then follow step 2 in the Windows section of the \"Installing Developer\n";
     1064    print "Tools\" instructions at <http://www.webkit.org/building/tools.html>.\n";
     1065    print "*************************************************************\n";
     1066    die;
    10481067}
    10491068
     
    11011120
    11021121    my $config = configurationForVisualStudio();
     1122
     1123    dieIfWindowsPlatformSDKNotInstalled() if $willUseVCExpressWhenBuilding;
    11031124
    11041125    chomp(my $winProjectPath = `cygpath -w "$project"`);
Note: See TracChangeset for help on using the changeset viewer.