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
commitb32c9d39023ddda5fbcb144890ce6bbe93b32a65 (patch)
tree2f17a088f01a87b13a5dfe7e349cf768bb494fdd
parentFixes suggested by cppcheck (diff)
downloadlibdbpp-postgresql-b32c9d39023ddda5fbcb144890ce6bbe93b32a65.tar.bz2
libdbpp-postgresql-b32c9d39023ddda5fbcb144890ce6bbe93b32a65.tar.xz
libdbpp-postgresql-b32c9d39023ddda5fbcb144890ce6bbe93b32a65.zip
Migrate all stuff to stricter compilations/links and C++0x builds
-rw-r--r--Jamroot.jam7
-rw-r--r--libpqpp/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/libpqpp/Jamfile.jam b/libpqpp/Jamfile.jam
index 0305236..dc1fd66 100644
--- a/libpqpp/Jamfile.jam
+++ b/libpqpp/Jamfile.jam
@@ -17,6 +17,7 @@ lib pqpp :
<cflags>-fPIC
<library>glibmm
<library>libpq
+ <library>../libdbpp
: :
<include>.
<cflags>"-I`pg_config --includedir`"