summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam31
1 files changed, 31 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
new file mode 100644
index 0000000..a2d56a8
--- /dev/null
+++ b/Jamroot.jam
@@ -0,0 +1,31 @@
+import os ;
+using gcc : : [ os.environ CXX ] ;
+
+variant coverage : debug ;
+
+project
+ : requirements
+ <define>ICE_CPP11_MAPPING
+ <cxxflags>"-std=c++17"
+ <cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
+ <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
+ <variant>release:<cxxflags>"-flto=2"
+ <variant>release:<linkflags>"-flto=2"
+ <variant>debug:<cxxflags>"-W -Wall -Wextra -Werror -Wwrite-strings"
+ <variant>coverage:<cxxflags>"--coverage"
+ <variant>coverage:<linkflags>"--coverage"
+ ;
+
+lib adhocutil : : : : <include>/usr/include/adhocutil ;
+lib dbppcore : : : : <include>/usr/include/dbpp ;
+lib git2 ;
+lib Ice ;
+lib Ice++11 ;
+lib IceBox++11 ;
+lib icetray : : : : <include>/usr/include/icetray <library>dbppcore ;
+lib netfs-api : : : : <include>/usr/include/netfs <library>Ice++11 <library>IceBox++11 <library>pthread ;
+lib pthread ;
+
+build-project src ;
+build-project unittests ;
+