/ Check-in [e76b8f77]
Login

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

Overview
Comment:Minor adjustments to the multi-platform build tool for MSVC.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e76b8f7765a91f4306cddb245e731084008f0b8c
User & Date: mistachkin 2012-07-27 22:29:26
Context
2012-07-27
23:03
Improve consistency in handling of build outputs and native library paths in the multi-platform build tool for MSVC. check-in: e71f2de2 user: mistachkin tags: trunk
22:29
Minor adjustments to the multi-platform build tool for MSVC. check-in: e76b8f77 user: mistachkin tags: trunk
08:33
For the clean makefile targets, delete the generated VSIX file as well. check-in: d575d961 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

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

177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
...
234
235
236
237
238
239
240

241
242
243
244
245
246

247
248
249
250
251
252
253
    CALL :fn_UnsetVariable WindowsSdkDir_old

    REM
    REM NOTE: Reset the PATH here to the absolute bare minimum required.
    REM
    SET PATH=%TOOLPATH%;%SystemRoot%\System32;%SystemRoot%

    %_VECHO% Path = '%PATH%'

    REM
    REM NOTE: Launch a nested command shell to perform the following steps:
    REM
    REM       1. Setup the MSVC environment for this platform using the
    REM          official batch file.
    REM
    REM       2. Make sure that no stale build output files are present.
................................................................................
      )

      REM
      REM NOTE: Invoke NMAKE with the MSVC makefile to clean any stale build
      REM       output from previous iterations of this loop and/or previous
      REM       runs of this batch file, etc.
      REM

      %__ECHO% nmake -f Makefile.msc clean

      IF ERRORLEVEL 1 (
        ECHO Failed to clean for platform %%P.
        GOTO errors
      )


      REM
      REM NOTE: Invoke NMAKE with the MSVC makefile to build the "sqlite3.dll"
      REM       binary.  The x86 compiler will be used to compile the native
      REM       command line tools needed during the build process itself.
      REM       Also, disable looking for and/or linking to the native Tcl
      REM       runtime library.







<
<







 







>






>







177
178
179
180
181
182
183


184
185
186
187
188
189
190
...
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
    CALL :fn_UnsetVariable WindowsSdkDir_old

    REM
    REM NOTE: Reset the PATH here to the absolute bare minimum required.
    REM
    SET PATH=%TOOLPATH%;%SystemRoot%\System32;%SystemRoot%



    REM
    REM NOTE: Launch a nested command shell to perform the following steps:
    REM
    REM       1. Setup the MSVC environment for this platform using the
    REM          official batch file.
    REM
    REM       2. Make sure that no stale build output files are present.
................................................................................
      )

      REM
      REM NOTE: Invoke NMAKE with the MSVC makefile to clean any stale build
      REM       output from previous iterations of this loop and/or previous
      REM       runs of this batch file, etc.
      REM
      IF NOT DEFINED NOCLEAN (
        %__ECHO% nmake -f Makefile.msc clean

        IF ERRORLEVEL 1 (
          ECHO Failed to clean for platform %%P.
          GOTO errors
        )
      )

      REM
      REM NOTE: Invoke NMAKE with the MSVC makefile to build the "sqlite3.dll"
      REM       binary.  The x86 compiler will be used to compile the native
      REM       command line tools needed during the build process itself.
      REM       Also, disable looking for and/or linking to the native Tcl
      REM       runtime library.