summaryrefslogtreecommitdiff
path: root/Jamroot.jam
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
commit81a5155e6f46c7fd4bb1ba84f3f448bbe0fc03d4 (patch)
treefe8fa89e5a20cc36cafd7a6adc9b8d9f0bc46de8 /Jamroot.jam
parentPluggable script engines (diff)
downloadp2pvr-81a5155e6f46c7fd4bb1ba84f3f448bbe0fc03d4.tar.bz2
p2pvr-81a5155e6f46c7fd4bb1ba84f3f448bbe0fc03d4.tar.xz
p2pvr-81a5155e6f46c7fd4bb1ba84f3f448bbe0fc03d4.zip
Migrate all stuff to stricter compilations/links and C++0x builds
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam7
1 files changed, 7 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 ;