System.Data.SQLite
Check-in [8287b8d18a]
Not logged in

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

Overview
Comment:Build enhancements for the managed-only assembly targeting Mono.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8287b8d18ab62cc3c32ad7a4ff910ab8b3146f9b
User & Date: mistachkin 2016-10-19 20:33:05
Context
2016-10-27
20:19
Bump version to 1.0.104.0. Update version history docs. Prevent the GetByte, GetChar, and GetInt16 methods of the SQLiteDataReader class from throwing exceptions for large integer values. Pursuant to [5535448538]. check-in: 2b70123e05 user: mistachkin tags: trunk
2016-10-19
20:33
Build enhancements for the managed-only assembly targeting Mono. check-in: 8287b8d18a user: mistachkin tags: trunk
19:18
Compilation enhancements for Mono on POSIX. check-in: 6bb855c1dd user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Setup/build_mono.bat.

    15     15   REM SET __ECHO3=ECHO
    16     16   IF NOT DEFINED _AECHO (SET _AECHO=REM)
    17     17   IF NOT DEFINED _CECHO (SET _CECHO=REM)
    18     18   IF NOT DEFINED _VECHO (SET _VECHO=REM)
    19     19   
    20     20   %_AECHO% Running %0 %*
    21     21   
    22         -SET DUMMY2=%1
           22  +SET DUMMY2=%2
    23     23   
    24     24   IF DEFINED DUMMY2 (
    25     25     GOTO usage
    26     26   )
    27     27   
    28     28   SET TOOLS=%~dp0
    29     29   SET TOOLS=%TOOLS:~0,-1%
    30     30   
    31     31   %_VECHO% Tools = '%TOOLS%'
    32     32   
    33         -IF DEFINED BUILD_DEBUG (
    34         -  SET BUILD_CONFIGURATIONS=DebugManagedOnly ReleaseManagedOnly
           33  +SET BUILD_CONFIGURATIONS=%1
           34  +
           35  +IF DEFINED BUILD_CONFIGURATIONS (
           36  +  CALL :fn_UnquoteVariable BUILD_CONFIGURATIONS
           37  +) ELSE (
           38  +  %_AECHO% No build configurations specified, using default...
           39  +  IF DEFINED BUILD_DEBUG (
           40  +    SET BUILD_CONFIGURATIONS=DebugManagedOnly ReleaseManagedOnly
           41  +  ) ELSE (
           42  +    SET BUILD_CONFIGURATIONS=ReleaseManagedOnly
           43  +  )
           44  +)
           45  +
           46  +%_VECHO% BuildConfigurations = '%BUILD_CONFIGURATIONS%'
           47  +
           48  +CALL :fn_ResetErrorLevel
           49  +
           50  +%__ECHO3% CALL "%TOOLS%\vsSp.bat"
           51  +
           52  +IF ERRORLEVEL 1 (
           53  +  ECHO Could not detect Visual Studio.
           54  +  GOTO errors
           55  +)
           56  +
           57  +CALL :fn_UnsetVariable YEARS
           58  +
           59  +IF NOT DEFINED NOVS2013 (
           60  +  IF DEFINED VS2013SP (
           61  +    SET YEARS=2013
           62  +  ) ELSE (
           63  +    ECHO Could not detect Visual Studio 2013.
           64  +  )
    35     65   ) ELSE (
    36         -  SET BUILD_CONFIGURATIONS=ReleaseManagedOnly
           66  +  ECHO Use of Visual Studio 2013 is disallowed.
           67  +)
           68  +
           69  +IF NOT DEFINED YEARS (
           70  +  IF NOT DEFINED NOVS2012 (
           71  +    IF DEFINED VS2012SP (
           72  +      SET YEARS=2012
           73  +    ) ELSE (
           74  +      ECHO Could not detect Visual Studio 2012.
           75  +    )
           76  +  ) ELSE (
           77  +    ECHO Use of Visual Studio 2012 is disallowed.
           78  +  )
           79  +)
           80  +
           81  +IF NOT DEFINED YEARS (
           82  +  ECHO No supported version of Visual Studio was detected and allowed.
           83  +  goto errors
    37     84   )
    38     85   
    39     86   SET PLATFORMS="Any CPU"
    40         -SET YEARS=2013
    41     87   SET NOUSER=1
    42     88   SET MSBUILD_ARGS=/property:ConfigurationSuffix=MonoOnPosix
    43     89   SET MSBUILD_ARGS=%MSBUILD_ARGS% /property:InteropCodec=false
    44     90   SET MSBUILD_ARGS=%MSBUILD_ARGS% /property:InteropLog=false
    45     91   
    46     92   IF DEFINED MSBUILD_ARGS_MONO (
    47     93     SET MSBUILD_ARGS=%MSBUILD_ARGS% %MSBUILD_ARGS_MONO%
................................................................................
    51     97   SET MSBUILD_ARGS_DEBUG=%MSBUILD_ARGS_DEBUG% /property:CountHandle=true
    52     98   SET MSBUILD_ARGS_DEBUG=%MSBUILD_ARGS_DEBUG% /property:TraceConnection=true
    53     99   SET MSBUILD_ARGS_DEBUG=%MSBUILD_ARGS_DEBUG% /property:TraceDetection=true
    54    100   SET MSBUILD_ARGS_DEBUG=%MSBUILD_ARGS_DEBUG% /property:TraceHandle=true
    55    101   SET MSBUILD_ARGS_DEBUG=%MSBUILD_ARGS_DEBUG% /property:TraceStatement=true
    56    102   SET MSBUILD_ARGS_DEBUG=%MSBUILD_ARGS_DEBUG% /property:TrackMemoryBytes=true
    57    103   
    58         -CALL :fn_ResetErrorLevel
    59         -
    60    104   %__ECHO3% CALL "%TOOLS%\build_all.bat"
    61    105   
    62    106   IF ERRORLEVEL 1 (
    63    107     ECHO Failed to build Mono binaries.
    64    108     GOTO errors
    65    109   )
    66    110   
    67    111   GOTO no_errors
          112  +
          113  +:fn_UnquoteVariable
          114  +  IF NOT DEFINED %1 GOTO :EOF
          115  +  SETLOCAL
          116  +  SET __ECHO_CMD=ECHO %%%1%%
          117  +  FOR /F "delims=" %%V IN ('%__ECHO_CMD%') DO (
          118  +    SET VALUE=%%V
          119  +  )
          120  +  SET VALUE=%VALUE:"=%
          121  +  REM "
          122  +  ENDLOCAL && SET %1=%VALUE%
          123  +  GOTO :EOF
          124  +
          125  +:fn_UnsetVariable
          126  +  SETLOCAL
          127  +  SET VALUE=%1
          128  +  IF DEFINED VALUE (
          129  +    SET VALUE=
          130  +    ENDLOCAL
          131  +    SET %VALUE%=
          132  +  ) ELSE (
          133  +    ENDLOCAL
          134  +  )
          135  +  CALL :fn_ResetErrorLevel
          136  +  GOTO :EOF
    68    137   
    69    138   :fn_ResetErrorLevel
    70    139     VERIFY > NUL
    71    140     GOTO :EOF
    72    141   
    73    142   :fn_SetErrorLevel
    74    143     VERIFY MAYBE 2> NUL
    75    144     GOTO :EOF
    76    145   
    77    146   :usage
    78    147     ECHO.
    79         -  ECHO Usage: %~nx0
          148  +  ECHO Usage: %~nx0 [configurations]
    80    149     ECHO.
    81    150     GOTO errors
    82    151   
    83    152   :errors
    84    153     CALL :fn_SetErrorLevel
    85    154     ENDLOCAL
    86    155     ECHO.