From 3bbee72071afe4de3e4d3131a34758d20c19adce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 31 Mar 2011 15:37:21 +0200 Subject: Add SQLite as supported database --- INSTALL | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 6292d2f..4198144 100644 --- a/INSTALL +++ b/INSTALL @@ -1,11 +1,12 @@ In this document we use to refer to the name of the database system you would like to use. Valid values for 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- 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-, --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 value the configure script has a set of options in the form --with--* 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 .options and -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: -- cgit v1.1