/ Check-in [d7c20f04]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Check for PDB files prior to attempting to copy them in the MSVC batch build tool.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d7c20f04e69fb1848b2e2f3b04fbd56e06c7c854
User & Date: mistachkin 2016-03-10 19:08:44
Context
2016-03-11
14:30
Update spellfix1_scriptcode() to output 215 (latin) for pure numeric text. check-in: df44308b user: drh tags: trunk
2016-03-10
19:08
Check for PDB files prior to attempting to copy them in the MSVC batch build tool. check-in: d7c20f04 user: mistachkin tags: trunk
15:12
Add tests to cover untested branches in recent fts5 changes. check-in: fa0033ed user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/build-all-msvc.bat.

   661    661   
   662    662           REM
   663    663           REM NOTE: Copy the "sqlite3.pdb" file to the appropriate directory for
   664    664           REM       the build and platform beneath the binary directory unless we
   665    665           REM       are prevented from doing so.
   666    666           REM
   667    667           IF NOT DEFINED NOSYMBOLS (
   668         -          %__ECHO% XCOPY "%DLL_PDB_FILE_NAME%" "%BINARYDIRECTORY%\%%B\%%D\" %FFLAGS% %DFLAGS%
          668  +          IF EXIST "%DLL_PDB_FILE_NAME%" (
          669  +            %__ECHO% XCOPY "%DLL_PDB_FILE_NAME%" "%BINARYDIRECTORY%\%%B\%%D\" %FFLAGS% %DFLAGS%
   669    670   
   670         -          IF ERRORLEVEL 1 (
   671         -            ECHO Failed to copy "%DLL_PDB_FILE_NAME%" to "%BINARYDIRECTORY%\%%B\%%D\".
   672         -            GOTO errors
          671  +            IF ERRORLEVEL 1 (
          672  +              ECHO Failed to copy "%DLL_PDB_FILE_NAME%" to "%BINARYDIRECTORY%\%%B\%%D\".
          673  +              GOTO errors
          674  +            )
   673    675             )
   674    676           )
   675    677   
   676    678           REM
   677    679           REM NOTE: If requested, also build the shell executable.
   678    680           REM
   679    681           IF DEFINED BUILD_ALL_SHELL (
................................................................................
   718    720   
   719    721             REM
   720    722             REM NOTE: Copy the "sqlite3sh.pdb" file to the appropriate directory
   721    723             REM       for the build and platform beneath the binary directory
   722    724             REM       unless we are prevented from doing so.
   723    725             REM
   724    726             IF NOT DEFINED NOSYMBOLS (
   725         -            %__ECHO% XCOPY "%EXE_PDB_FILE_NAME%" "%BINARYDIRECTORY%\%%B\%%D\" %FFLAGS% %DFLAGS%
          727  +            IF EXIST "%EXE_PDB_FILE_NAME%" (
          728  +              %__ECHO% XCOPY "%EXE_PDB_FILE_NAME%" "%BINARYDIRECTORY%\%%B\%%D\" %FFLAGS% %DFLAGS%
   726    729   
   727         -            IF ERRORLEVEL 1 (
   728         -              ECHO Failed to copy "%EXE_PDB_FILE_NAME%" to "%BINARYDIRECTORY%\%%B\%%D\".
   729         -              GOTO errors
          730  +              IF ERRORLEVEL 1 (
          731  +                ECHO Failed to copy "%EXE_PDB_FILE_NAME%" to "%BINARYDIRECTORY%\%%B\%%D\".
          732  +                GOTO errors
          733  +              )
   730    734               )
   731    735             )
   732    736           )
   733    737         )
   734    738       )
   735    739     )
   736    740