diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-08-22 21:51:31 -0400 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-10-07 10:42:09 +0200 |
commit | 5d0c35242bb24605ca9ce6f45806b8997a17799b (patch) | |
tree | cba88cec6863d25b3071c1c042d3aede444f6785 /oowintool | |
parent | b0a6bf81d8a555ff9870ec921be9353a36b493b2 (diff) |
fix cli_ure build with Win8 SDK
Change-Id: I4842d848234a5dc21085a3fd0aa0a79c58c71e8c
Diffstat (limited to 'oowintool')
-rwxr-xr-x | oowintool | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/oowintool b/oowintool index 244a3b4d7234..5f7d60321dbe 100755 --- a/oowintool +++ b/oowintool @@ -55,6 +55,7 @@ sub print_syntax() print " --msvs-productdir - print productdir\n"; print " --dotnetsdk-dir - print .NET SDK path\n"; print " --csc-compilerdir - print .NET SDK compiler path\n"; + print " --al-home - print AL.exe install dir\n"; print " --windows-sdk-home - print Windows SDK install dir\n"; print " --jdk-home - print the jdk install dir\n"; print " --help - print this message\n"; @@ -119,6 +120,16 @@ sub print_windows_sdk_home() print cygpath ($value, 'w', $output_format); } +sub print_al_home() +{ + my ($value, $key); + + $key = reg_find_key ('HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/*/WinSDK-NetFx40Tools/InstallationFolder'); + $value = reg_get_value ($key); + + print cygpath ($value, 'w', $output_format); +} + my %msvs_2008 = ( 'ver' => '9.0', 'key' => 'Microsoft/VisualStudio/9.0/Setup/VS/ProductDir', @@ -373,6 +384,8 @@ while (@commands) { print_csc_compiler_dir(); } elsif ($opt eq '--windows-sdk-home') { print_windows_sdk_home(); + } elsif ($opt eq '--al-home') { + print_al_home(); } elsif ($opt eq '--jdk-home') { print_jdk_dir(); } elsif ($opt eq '--help' || $opt eq '/?') { |