1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

When compiling for UAP, link against the new minimal MSVC runtime.

FossilOrigin-Name: 2cb945116e7a5b78741b19839899826b539d5868
This commit is contained in:
mistachkin
2015-04-22 01:33:53 +00:00
parent 1cb50c880e
commit 318d38cf7e
4 changed files with 43 additions and 10 deletions

View File

@@ -483,6 +483,8 @@ FOR %%P IN (%PLATFORMS%) DO (
REM
IF DEFINED USE_WINV100_NSDKLIBPATH (
CALL :fn_AppendVariable NSDKLIBPATH \..\10\lib\10.0.10030.0\um\x86
CALL :fn_CopyVariable UniversalCRTSdkDir PSDKLIBPATH
CALL :fn_AppendVariable PSDKLIBPATH Lib\10.0.10030.0\um\%%D
) ELSE IF DEFINED USE_WINV63_NSDKLIBPATH (
CALL :fn_AppendVariable NSDKLIBPATH \lib\winv6.3\um\x86
) ELSE IF "%VisualStudioVersion%" == "12.0" (
@@ -666,6 +668,19 @@ REM NOTE: If we get to this point, we have succeeded.
REM
GOTO no_errors
:fn_ShowVariable
SETLOCAL
SET __ECHO_CMD=ECHO %%%2%%
FOR /F "delims=" %%V IN ('%__ECHO_CMD%') DO (
IF NOT "%%V" == "" (
IF NOT "%%V" == "%%%2%%" (
%_VECHO% %1 = '%%V'
)
)
)
ENDLOCAL
GOTO :EOF
:fn_ResetErrorLevel
VERIFY > NUL
GOTO :EOF