Merge recent enhancements from trunk.
FossilOrigin-Name: cb77236673e30af1e8749d984dedecc8f901b255
This commit is contained in:
+25
-5
@@ -312,12 +312,26 @@ IF "%VisualStudioVersion%" == "11.0" (
|
||||
)
|
||||
)
|
||||
|
||||
REM
|
||||
REM NOTE: This is the name of the sub-directory where the UCRT libraries may
|
||||
REM be found. It is only used when compiling against the UCRT.
|
||||
REM
|
||||
IF DEFINED UCRTVersion (
|
||||
SET NUCRTVER=%UCRTVersion%
|
||||
) ELSE (
|
||||
SET NUCRTVER=10.0.10240.0
|
||||
)
|
||||
|
||||
REM
|
||||
REM NOTE: This is the name of the sub-directory where the Windows 10.0 SDK
|
||||
REM libraries may be found. It is only used when compiling with the
|
||||
REM Windows 10.0 SDK.
|
||||
REM
|
||||
SET WIN10LIBDIR=10.0.10240.0
|
||||
IF DEFINED WindowsSDKLibVersion (
|
||||
SET WIN10SDKVER=%WindowsSDKLibVersion:\=%
|
||||
) ELSE (
|
||||
SET WIN10SDKVER=%NUCRTVER%
|
||||
)
|
||||
|
||||
REM
|
||||
REM NOTE: Check if this is the Windows Phone SDK. If so, a different batch
|
||||
@@ -361,6 +375,7 @@ FOR %%P IN (%PLATFORMS%) DO (
|
||||
REM
|
||||
CALL :fn_UnsetVariable CommandPromptType
|
||||
CALL :fn_UnsetVariable DevEnvDir
|
||||
CALL :fn_UnsetVariable DNX_HOME
|
||||
CALL :fn_UnsetVariable ExtensionSdkDir
|
||||
CALL :fn_UnsetVariable Framework35Version
|
||||
CALL :fn_UnsetVariable Framework40Version
|
||||
@@ -372,14 +387,19 @@ FOR %%P IN (%PLATFORMS%) DO (
|
||||
CALL :fn_UnsetVariable INCLUDE
|
||||
CALL :fn_UnsetVariable LIB
|
||||
CALL :fn_UnsetVariable LIBPATH
|
||||
CALL :fn_UnsetVariable NETFXSDKDir
|
||||
CALL :fn_UnsetVariable Platform
|
||||
CALL :fn_UnsetVariable UCRTVersion
|
||||
CALL :fn_UnsetVariable UniversalCRTSdkDir
|
||||
REM CALL :fn_UnsetVariable VCINSTALLDIR
|
||||
CALL :fn_UnsetVariable VSINSTALLDIR
|
||||
CALL :fn_UnsetVariable WindowsLibPath
|
||||
CALL :fn_UnsetVariable WindowsPhoneKitDir
|
||||
CALL :fn_UnsetVariable WindowsSdkDir
|
||||
CALL :fn_UnsetVariable WindowsSdkDir_35
|
||||
CALL :fn_UnsetVariable WindowsSdkDir_old
|
||||
CALL :fn_UnsetVariable WindowsSDKLibVersion
|
||||
CALL :fn_UnsetVariable WindowsSDKVersion
|
||||
CALL :fn_UnsetVariable WindowsSDK_ExecutablePath_x86
|
||||
CALL :fn_UnsetVariable WindowsSDK_ExecutablePath_x64
|
||||
|
||||
@@ -489,9 +509,9 @@ FOR %%P IN (%PLATFORMS%) DO (
|
||||
REM different directory naming conventions.
|
||||
REM
|
||||
IF DEFINED USE_WINV100_NSDKLIBPATH (
|
||||
CALL :fn_AppendVariable NSDKLIBPATH \..\10\lib\%WIN10LIBDIR%\um\x86
|
||||
CALL :fn_CopyVariable UniversalCRTSdkDir PSDKLIBPATH
|
||||
CALL :fn_AppendVariable PSDKLIBPATH Lib\%WIN10LIBDIR%\um\%%D
|
||||
CALL :fn_AppendVariable NSDKLIBPATH \..\10\lib\%WIN10SDKVER%\um\x86
|
||||
CALL :fn_CopyVariable WindowsSdkDir PSDKLIBPATH
|
||||
CALL :fn_AppendVariable PSDKLIBPATH lib\%WIN10SDKVER%\um\%%D
|
||||
) ELSE IF DEFINED USE_WINV63_NSDKLIBPATH (
|
||||
CALL :fn_AppendVariable NSDKLIBPATH \lib\winv6.3\um\x86
|
||||
) ELSE IF "%VisualStudioVersion%" == "12.0" (
|
||||
@@ -514,7 +534,7 @@ FOR %%P IN (%PLATFORMS%) DO (
|
||||
IF DEFINED SET_NUCRTLIBPATH (
|
||||
IF DEFINED UniversalCRTSdkDir (
|
||||
CALL :fn_CopyVariable UniversalCRTSdkDir NUCRTLIBPATH
|
||||
CALL :fn_AppendVariable NUCRTLIBPATH \lib\%WIN10LIBDIR%\ucrt\x86
|
||||
CALL :fn_AppendVariable NUCRTLIBPATH \lib\%NUCRTVER%\ucrt\x86
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user