summaryrefslogtreecommitdiff
path: root/Jamroot.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-06 08:30:08 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-06 08:30:08 +0000
commitafb5ebabf55c5c806e221ad15fca2fa0d5ef6d2b (patch)
treee63b671e8dd8e3813ed2fa76a82a5aa39c5c2667 /Jamroot.jam
downloadmirrorsearch-afb5ebabf55c5c806e221ad15fca2fa0d5ef6d2b.tar.bz2
mirrorsearch-afb5ebabf55c5c806e221ad15fca2fa0d5ef6d2b.tar.xz
mirrorsearch-afb5ebabf55c5c806e221ad15fca2fa0d5ef6d2b.zip
Initial commit, WIP
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
+ ;
+