Index: www/build.wiki
==================================================================
--- www/build.wiki
+++ www/build.wiki
@@ -9,15 +9,18 @@
You will need a Visual Studio 2008, 2010, or 2010 SP1 development environment for this build.
Thanks to the hard work of Joe Mistachkin, the build environment has been setup
-using modular solution and property files. SQLite.NET.2008.sln is the top level solution
-for VS2008 and SQLite.NET.2010.sln for VS2010. In general, files with 2008 in the
-name (eg. SQLite.Interop.2008.vcproj) or files ending in .vsprops are
-project and property files for the VS2008 solution. Files with 2010 in the
-name (eg. SQLite.Interop.2010.vcxproj) or files ending in .props are
+using modular solution and property files.
+
+SQLite.NET.2008.sln is the top level solution for VS2008.
+SQLite.NET.2010.sln is the top level solution for VS2010.
+
+In general, files with 2008 in the name (eg. SQLite.Interop.2008.vcproj)
+or files ending in .vsprops are project and property files for the VS2008 solution.
+Files with 2010 in the name (eg. SQLite.Interop.2010.vcxproj) or files ending in .props are
property and project files for the VS2010 solution. When making changes,
you should make changes to both to keep them in sync.
@@ -139,39 +142,40 @@
Successful compile (X.XXX sec). Resulting Setup program filename is:
-
+
+build.bat Desription
build.bat is the top level batch file for build automation and should be called
with the configuration and platform to build:
- build.bat <CONFIGURATION> <PLATFORM>
+ build.bat <CONFIGURATION> <PLATFORM>
This starts by setting 3 environment variables:
- ROOT (eg. <pwd>\..)
- CONFIGURATION (eg. ReleaseNativeOnly)
- PLATFORM (eg. Win32)
+ ROOT (eg. <pwd>\..)
+ CONFIGURATION (eg. ReleaseNativeOnly)
+ PLATFORM (eg. Win32)
These are used to call another .bat file (eg. set_ReleaseNativeOnly_x64.bat)
which calls set_ReleaseNativeOnly.bat to setup more variables to specify
which .NET Framework to use:
- NETFX35ONLY=1 - set from set_ReleaseNativeOnly.bat
- YEAR=2008 - set from set_ReleaseNativeOnly.bat
- YEARS=%YEAR% - set from set_ReleaseNativeOnly.bat
+ NETFX35ONLY=1 - set from set_ReleaseNativeOnly.bat
+ YEAR=2008 - set from set_ReleaseNativeOnly.bat
+ YEARS=%YEAR% - set from set_ReleaseNativeOnly.bat
build.bat attempts to set additional variables based on the chosen
and available .NET Framework.
- YEAR (eg. 2008)
- FRAMEWORKDIR (eg. %windir%\Microsoft.NET\Framework\v3.5)
+ YEAR (eg. 2008)
+ FRAMEWORKDIR (eg. %windir%\Microsoft.NET\Framework\v3.5)
- The PATH variable is updated to include the directory specified by FRAMEWORKDIR.
+ The PATH variable is updated to include the directory specified by FRAMEWORKDIR.
At this point, several variables are setup for the call to
[http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx | MSBuild]
SOLUTION (eg. .\SQLite.NET.2008.sln)
TARGET (eg. Rebuild)