aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-03-03 15:51:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-03-03 15:51:57 +0200
commit307795479893bed9b21667a686a74281dfebbfca (patch)
treef1806971c7718eb7fbd4c91ff8f3ef72a4962652
parent9d996ab2de80c80f289d111ac1021627d0e0357f (diff)
Documentation updates for C++11 support
-rw-r--r--INSTALL9
1 files changed, 8 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 3286e13..a467a4c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -90,6 +90,12 @@ C++ compiler and compiles with optimization and without debug information:
./configure CXX=g++-4.5 CXXFLAGS=-O3
+If you would like to build the 'c++11' example as well as other examples
+in the C++11 mode, then you will need to pass the necessary options to
+turn the C++ compiler into this mode. For example:
+
+./configure CXXFLAGS=-std=c++0x
+
Once configuration is complete, run make to build the examples:
make
@@ -131,7 +137,8 @@ examples-<database>-vc<N>.sln file located in the odb-examples package
directory (referred to as odb-examples\ from now on). Here <N> is the
version of Visual Studio that you are using. Once the solution is open,
select the desired build configuration (Debug or Release) and platform
-(Win32 or x64) and build the solution.
+(Win32 or x64) and build the solution. Note that with Visual Studio 10
+(2010) and later the examples are built in the C++11 mode.
If you would like to build the boost example (requires Boost and
libodb-boost), also open and build the solution in the boost/