diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 31 |
1 files changed, 18 insertions, 13 deletions
@@ -2,6 +2,7 @@ Prerequisites ============= - libodb http://www.codesynthesis.com/products/odb/ + - boost http://www.boost.org Building on UNIX @@ -21,19 +22,22 @@ To see the available configuration options run configure with --help: ./configure --help -The configure script expects the libodb headers and libraries to -be installed in a directory where the C++ compiler and linker will -search for them by default (normally /usr and /usr/local). If libodb -is installed in another directory, you can use the CPPFLAGS and -LDFLAGS configure variables to specify its location, for example: +The configure script expects the libodb and boost headers and libraries +to be installed in a directory where the C++ compiler and linker will +search for them by default (normally /usr and /usr/local). If these +libraries are installed in other directories, you can use the CPPFLAGS +and LDFLAGS configure variables to specify their locations, for example: ./configure CPPFLAGS=-I/opt/libodb/include LDFLAGS=-L/opt/libodb/lib -If libodb is not installed and you would like to use its build -directory instead, you can use the --with-libodb configure option -to specify its location, for example: +If these libraries are not installed and you would like to use their +build directories instead, you can use the --with-libodb, and +--with-boost configure options to specify their locations, for example: -./configure --with-libodb=/tmp/libodb +./configure --with-boost=/tmp/boost + +For the boost build directory the configure script expects to find the +boost libraries in the stage/lib/ subdirectory. As another example, the following configure command only builds shared libraries, uses the specified C++ compiler, and compiles with optimization @@ -60,10 +64,11 @@ Studio. If you would like to build libodb-boost with GCC either using Cygwin or MinGW, refer to the "Building on UNIX" section above. The standard Visual Studio project and solution files are used on this -platform. The provided project files expect the libodb header and import -library directories to be in the VC++ Directories Include and Library -search lists. See the INSTALL file in the libodb package for more -information on how to setup the VC++ Directories. +platform. The provided project files expect the libodb and boost header +and import library directories to be in the VC++ Directories Include and +Library search lists. For libodb, see the INSTALL file in the package +directory for more information on how to setup the VC++ Directories. For +boost, refer to the boost documentation. To build libodb-boost, unpack the source code archive and open the libodb-boost-vc<N>.sln file located in the libodb-boost package |