mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
(Windows7) and its SDK. The w3i3m9 pseudo platform has been removed and w3i3mv adjusted for this framework. Copied from Perforce Change: 175966 ServerID: perforce.ravenbrook.com
33 lines
1.1 KiB
Batchfile
33 lines
1.1 KiB
Batchfile
@ECHO OFF
|
|
REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
REM $Id$
|
|
REM $Change$ $DateTime$ $Author$
|
|
REM
|
|
REM Configure access to the Microsoft SDK.
|
|
REM
|
|
REM This procedure has only been tested under NT6.1. Earlier versions
|
|
REM of the operating system will have different SDK configuration
|
|
REM details.
|
|
REM
|
|
REM This procedure requires delayed environment expansion.
|
|
REM The presence of REG in the command path is assumed.
|
|
REM
|
|
REM The registry is queried to determine the SDK installation location
|
|
REM and its SETENV command procedure is invoked to configure it.
|
|
REM Note that SETENV, as installed, has a tendency to alter the color
|
|
REM settings for the console.
|
|
REM
|
|
REM Copyright (C) 2011 Ravenbrook Limited. All rights reserved.
|
|
REM
|
|
REM -------------------------------------------------------------------
|
|
REM
|
|
SET WinSDKRegKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1
|
|
|
|
FOR /F "tokens=2*" %%A IN ('REG QUERY "%WinSDKRegKeyPath%" /v InstallationFolder') DO SET WindowsSDKDir=%%B
|
|
|
|
SET "sdkdir=%WindowsSDKDir%"
|
|
|
|
%sdkdir%\bin\setenv
|
|
|
|
REM -- End of program
|
|
|