summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-07-10 15:15:57 +0000
committerrandomdan <randomdan@localhost>2012-07-10 15:15:57 +0000
commit5664bb432998cc44fad206bce8388cc3b73f32d3 (patch)
treeac1d2d4c9d3e618cf903d9c6f08df591554fc587
parentFixes suggested by cppcheck (diff)
downloadlibdbpp-odbc-5664bb432998cc44fad206bce8388cc3b73f32d3.tar.bz2
libdbpp-odbc-5664bb432998cc44fad206bce8388cc3b73f32d3.tar.xz
libdbpp-odbc-5664bb432998cc44fad206bce8388cc3b73f32d3.zip
Migrate all stuff to stricter compilations/links and C++0x builds
-rw-r--r--Jamroot.jam7
-rw-r--r--libodbcpp/Jamfile.jam1
2 files changed, 8 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 794d6de..1c2bea6 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -3,6 +3,13 @@ using gcc ;
import type : register ;
import generators : register-standard ;
+project
+ : requirements
+ <variant>release:<cflags>"-std=c++0x"
+ <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++0x"
+ <variant>debug:<linkflags>"-Wl,-z,defs"
+ ;
+
import type ;
import generators ;
import feature ;
diff --git a/libodbcpp/Jamfile.jam b/libodbcpp/Jamfile.jam
index 983cba5..61ccc60 100644
--- a/libodbcpp/Jamfile.jam
+++ b/libodbcpp/Jamfile.jam
@@ -10,6 +10,7 @@ lib odbcpp :
<cflags>-fPIC
<library>glibmm
<library>odbc
+ <library>../libdbpp
: :
<include>.
<library>glibmm