summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamroot.jam')
-rw-r--r--Jamroot.jam56
1 files changed, 56 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
new file mode 100644
index 0000000..f035381
--- /dev/null
+++ b/Jamroot.jam
@@ -0,0 +1,56 @@
+import os ;
+import slice ;
+
+using gcc : : [ os.environ CXX ] ;
+
+variant coverage : debug ;
+
+project
+ : requirements
+ <cxxflags>"-std=c++17 -fvisibility=hidden"
+ <linkflags>"-Wl,-z,defs,--warn-once,--gc-sections"
+ <variant>release:<cxxflags>"-fvisibility-inlines-hidden -flto=2"
+ <variant>release:<linkflags>"-flto=2"
+ <variant>debug:<cxxflags>"-W -Wall -Wextra -Werror -Wwrite-strings"
+ <variant>coverage:<cxxflags>"--coverage"
+ <variant>coverage:<linkflags>"--coverage"
+ ;
+
+build-project service ;
+
+# Some useful aliases
+
+lib adhocutil : : : : <include>/usr/include/adhocutil ;
+lib slicer : : : : <include>/usr/include/slicer ;
+lib slicer-db : : : : <include>/usr/include/slicer ;
+lib netfs-api : : : : <include>/usr/include/netfs ;
+lib icetray : : : : <include>/usr/include/icetray ;
+lib dbppcore : : : : <include>/usr/include/dbpp ;
+lib Ice ;
+lib IceUtil ;
+lib pthread ;
+lib IceBox ;
+lib boost_filesystem ;
+lib boost_system ;
+lib boost_thread ;
+lib boost_date_time ;
+
+lib xml2 : : : : <include>/usr/include/libxml2 ;
+lib glibmm-2.4 ;
+lib gobject-2.0 ;
+lib glib-2.0 ;
+lib sigc-2.0 ;
+
+alias glibmm : : : :
+ <include>/usr/include/glibmm-2.4
+ <include>/usr/lib/glibmm-2.4/include
+ <include>/usr/include/glib-2.0
+ <include>/usr/lib/glib-2.0/include
+ <include>/usr/include/sigc++-2.0
+ <include>/usr/lib/sigc++-2.0/include
+ <library>glibmm-2.4
+ <library>gobject-2.0
+ <library>glib-2.0
+ <library>sigc-2.0
+ ;
+