From afb5ebabf55c5c806e221ad15fca2fa0d5ef6d2b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 6 Mar 2018 08:30:08 +0000 Subject: Initial commit, WIP --- Jamroot.jam | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Jamroot.jam (limited to 'Jamroot.jam') 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 + "-std=c++17 -fvisibility=hidden" + "-Wl,-z,defs,--warn-once,--gc-sections" + release:"-fvisibility-inlines-hidden -flto=2" + release:"-flto=2" + debug:"-W -Wall -Wextra -Werror -Wwrite-strings" + coverage:"--coverage" + coverage:"--coverage" + ; + +build-project service ; + +# Some useful aliases + +lib adhocutil : : : : /usr/include/adhocutil ; +lib slicer : : : : /usr/include/slicer ; +lib slicer-db : : : : /usr/include/slicer ; +lib netfs-api : : : : /usr/include/netfs ; +lib icetray : : : : /usr/include/icetray ; +lib dbppcore : : : : /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 : : : : /usr/include/libxml2 ; +lib glibmm-2.4 ; +lib gobject-2.0 ; +lib glib-2.0 ; +lib sigc-2.0 ; + +alias glibmm : : : : + /usr/include/glibmm-2.4 + /usr/lib/glibmm-2.4/include + /usr/include/glib-2.0 + /usr/lib/glib-2.0/include + /usr/include/sigc++-2.0 + /usr/lib/sigc++-2.0/include + glibmm-2.4 + gobject-2.0 + glib-2.0 + sigc-2.0 + ; + -- cgit v1.2.3