System.Data.SQLite
Check-in [6560c52f85]
Not logged in

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

Overview
Comment:More build notes edits.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6560c52f853c004e50e97271ae7e19592bd7627a
User & Date: shaneh 2011-04-12 16:15:58
Context
2011-04-12
16:45
Workaround for not having VS 2008 installed when using the command-line build environment. check-in: 3ce8ba354b user: mistachkin tags: trunk
16:15
More build notes edits. check-in: 6560c52f85 user: shaneh tags: trunk
16:14
Delete test.exe.config from output directory. check-in: 30f337f40b user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to www/build.wiki.

    20     20   or files ending in .vsprops are project and property files for the VS2008 solution. 
    21     21   Files with 2010 in the name (eg. SQLite.Interop.2010.vcxproj) or files ending in .props are 
    22     22   property and project files for the VS2010 solution.  When making changes, 
    23     23   you should make changes to both to keep them in sync.
    24     24   </p>
    25     25   
    26     26   <p>
    27         -You can either manually build the SDS using the supplied Visual Studio solutions,
    28         -or follow the steps outlined in the Build Automation section below.
           27  +You can either [./build.wiki#manual | manually build] the SDS using the supplied Visual Studio solutions,
           28  +or follow the steps outlined in the [./build.wiki#automated | Automated Build] section below.
    29     29   </p>
    30     30   
           31  +<a name="assumptions"></a>
    31     32   <h2>Build Assumptions</h2>
    32     33   <ol>
    33     34     <li>
    34     35       We want to ship managed binaries that rely on the .NET Framework 2.0
    35     36       SP2.  The .NET Framework 2.0 is very widely deployed and binaries produced for it can
    36     37       also be referenced and used successfully from projects using the .NET Framework
    37     38       4.0.
................................................................................
    48     49       will make it far simpler to maintain and ship the included core SQLite code
    49     50       (in the file "SQLite.Interop.dll").
    50     51     </li>
    51     52   
    52     53     <li>
    53     54       The machine used to prepare the official releases will have the
    54     55       [http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7 | .NET Framework 3.5 SP1]
    55         -    and the corresponding [http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx | SDK] installed.
           56  +    and the corresponding [http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC | SDK] installed.
    56     57     </li>
    57     58   
    58     59     <li>
    59     60       The machine used to prepare the official releases will have [http://www.jrsoftware.org/isdl.php | Inno Setup 5.4.2]
    60     61       or higher installed in "%ProgramFiles%\Inno Setup 5" or
    61     62       "%ProgramFiles(x86)%\Inno Setup 5" for an 64-bit machines.  Alternatively,
    62     63       the InnoSetup directory may be included in the PATH environment variable.
................................................................................
    64     65   
    65     66     <li>
    66     67       The string "&lt;root&gt;" represents the root of your source tree for
    67     68       System.Data.SQLite.
    68     69     </li>
    69     70   </ol>
    70     71   
    71         -<h2>Build Automation</h2>
           72  +<a name="manual"></a>
           73  +<h2>Manual Build</h2>
           74  +
           75  +<ol>
           76  +  <li>Make sure the version information is correct for SQLite in the following
           77  +  files:
           78  +
           79  +  <ul>
           80  +    &lt;root&gt;\SQLite.Interop\props\sqlite3.vsprops<br />
           81  +    &lt;root&gt;\SQLite.Interop\props\sqlite3.props<br />
           82  +  </ul>
           83  +
           84  +  You'll need to update the SQLITE_MANIFEST_VERSION and SQLITE_RC_VERSION properties.
           85  +  This version number should track the release versions of SQLite 
           86  +  (ie. [http://www.sqlite.org/changes.html | 3.7.x]).
           87  +  </li>
           88  +
           89  +  <li>Make sure the version information is correct for System.Data.SQLite in
           90  +  the following files:
           91  +
           92  +  <ul>
           93  +    &lt;root&gt;\SQLite.Interop\props\SQLite.Interop.vsprops<br />
           94  +    &lt;root&gt;\SQLite.Interop\props\SQLite.Interop.props<br />
           95  +    &lt;root&gt;\SQLite.Interop\src\win\interop.h<br />
           96  +  </ul>
           97  +
           98  +  You'll need to update the SQLITE_MANIFEST_VERSION and SQLITE_RC_VERSION properties
           99  +  in the .vsprops and .props files, and the INTEROP_VERSION define in interop.h.
          100  +  This version number should track the release versions of the System.Data.SQLite packages
          101  +  (ie. [./news.wiki | 1.0.x]).
          102  +  </li>
          103  +
          104  +  <li>Open the appropriate solution for your build platform.
          105  +
          106  +    <ul>
          107  +        SQLite.NET.2008.sln is the top level solution for VS2008.<br />
          108  +        SQLite.NET.2010.sln is the top level solution for VS2010.<br />
          109  +    </ul>
          110  +  </li>
          111  +
          112  +  <li>Select the desired solution configuration (eg. ReleaseNativeOnly) and 
          113  +  and solution platform (eg. x64), then "Build->Rebuild Solution".
          114  +
          115  +  Alternatively, you can select "Build->Batch Build", "Select All", and then "Rebuild".
          116  +  </li>
          117  +
          118  +</ol>
          119  +
          120  +<a name="automated"></a>
          121  +<h2>Automated Build</h2>
    72    122   
    73    123   <ol>
    74    124     <li>Make sure the version information is correct for SQLite in the following
    75    125     files:
    76    126   
    77    127     <ul>
    78         -    <li>&lt;root&gt;\SQLite.Interop\props\sqlite3.vsprops</li>
    79         -    <li>&lt;root&gt;\SQLite.Interop\props\sqlite3.props</li>
          128  +      &lt;root&gt;\SQLite.Interop\props\sqlite3.vsprops<br />
          129  +      &lt;root&gt;\SQLite.Interop\props\sqlite3.props<br />
    80    130     </ul>
    81    131   
    82    132     You'll need to update the SQLITE_MANIFEST_VERSION and SQLITE_RC_VERSION properties.
    83    133     This version number should track the release versions of SQLite 
    84    134     (ie. [http://www.sqlite.org/changes.html | 3.7.x]).
    85    135     </li>
    86    136   
    87    137     <li>Make sure the version information is correct for System.Data.SQLite in
    88    138     the following files:
    89    139   
    90    140     <ul>
    91         -    <li>&lt;root&gt;\SQLite.Interop\props\SQLite.Interop.vsprops</li>
    92         -    <li>&lt;root&gt;\SQLite.Interop\props\SQLite.Interop.props</li>
    93         -    <li>&lt;root&gt;\SQLite.Interop\src\win\interop.h</li>
    94         -    <li>&lt;root&gt;\Setup\set_common.bat</li>
          141  +    &lt;root&gt;\SQLite.Interop\props\SQLite.Interop.vsprops<br />
          142  +    &lt;root&gt;\SQLite.Interop\props\SQLite.Interop.props<br />
          143  +    &lt;root&gt;\SQLite.Interop\src\win\interop.h<br />
          144  +    &lt;root&gt;\Setup\set_common.bat<br />
    95    145     </ul>
    96    146   
    97    147     You'll need to update the SQLITE_MANIFEST_VERSION and SQLITE_RC_VERSION properties
    98    148     in the .vsprops and .props files, the INTEROP_VERSION define in interop.h,
    99    149     and the VERSION environment variable in set_common.bat.
   100    150     This version number should track the release versions of the System.Data.SQLite packages
   101    151     (ie. [./news.wiki | 1.0.x]).
   102    152     </li>
   103    153   
   104    154     <li>Make sure the "&lt;root&gt;\bin" and "&lt;root&gt;\obj" directories are completely
   105         -  free of all output files.  In theory, you could simply delete these directories;
   106         -  however, the file "&lt;root&gt;\bin\test.exe." is presently in the source tree.  I have
   107         -  no idea why; however, it's been there since 2005 [557ac901aff91f5da6bc7634ee1c75988ea9dec9].
          155  +  free of all output files.  In theory, you should be able to simply delete these directories.
   108    156     </li>
   109    157   
   110    158     <li>Open a normal command prompt window with "cmd.exe".</li>
   111    159   
   112    160     <li>Change the current directory to "&lt;root&gt;\Setup".</li>
   113    161   
   114    162     <li>Enter the following command to build the binaries for Win32 (x86):