aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-31 15:37:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-31 15:37:21 +0200
commit3bbee72071afe4de3e4d3131a34758d20c19adce (patch)
tree7744c154d8c0ac310b591739ff16be97343372cb
parentbe39e2118e5a4eb8b5b31f7ea30718e3e099e9b2 (diff)
Add SQLite as supported database
-rw-r--r--INSTALL17
1 files changed, 9 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
index 6292d2f..4198144 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,11 +1,12 @@
In this document we use <database> to refer to the name of the database
system you would like to use. Valid values for <database> are:
- 'mysql' - The MySQL database system
+ 'mysql' - The MySQL database system
+ 'sqlite' - The SQLite database system
Prerequisites
=============
-
+
- odb http://www.codesynthesis.com/products/odb/
- libodb http://www.codesynthesis.com/products/odb/
- libodb-<database> http://www.codesynthesis.com/products/odb/
@@ -18,7 +19,7 @@ Building on UNIX
The following build instructions are for the Linux/UNIX/Mac OS X
operating systems as well as for Cygwin and MinGW on Windows.
-The standard autotools-based build system is used on these platforms.
+The standard autotools-based build system is used on these platforms.
After unpacking the source code archive, change to the odb-examples
package directory (referred to as odb-examples/ from now on) and run
the configure script, for example:
@@ -56,8 +57,8 @@ their locations, for example:
./configure CPPFLAGS=-I/opt/libodb/include LDFLAGS=-L/opt/libodb/lib
-If these libraries are not installed and you would like to use their
-build directories instead, you can use the --with-libodb,
+If these libraries are not installed and you would like to use their
+build directories instead, you can use the --with-libodb,
--with-libodb-<database>, --with-libodb-boost, and --with-boost
configure options to specify their locations, for example:
@@ -69,7 +70,7 @@ boost libraries in the stage/lib/ subdirectory.
For each <database> value the configure script has a set of options in
the form --with-<database>-* that allow you to specify various database
system parameters, such as the login name, password, and database name,
-that should be used when running the examples. Run configure with
+that should be used when running the examples. Run configure with
--help to see the available options for your database.
As another example, the following configure command uses the specified
@@ -114,7 +115,7 @@ select the desired build configuration (Debug or Release) and platform
(Win32 or x64) and build the solution.
If you would like to build the boost example (requires boost and
-libodb-boost), also open and build the solution in the boost/
+libodb-boost), also open and build the solution in the boost/
subdirectory.
Once the build is completed successfully, you can run each example
@@ -125,7 +126,7 @@ odb-examples\ directory.
Before you can run test.bat, you may need to adjust the database system
parameters, such as the login name, password, and database name, that
-should be used when running the examples. To do this, edit the
+should be used when running the examples. To do this, edit the
<database>.options and <database>-driver.bat files located in the
odb-examples\ directory. Once this is done, you can run the examples by
executing the following command from the command prompt: