From 05682cc97dc27d5862b15299e1519ca3d247893f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 2 Feb 2019 11:27:29 +0000 Subject: Single definition of Ice libs --- slicer/Jamfile.jam | 6 ++++++ slicer/db/Jamfile.jam | 5 +---- slicer/ice/Jamfile.jam | 5 +---- slicer/slicer/Jamfile.jam | 5 +---- slicer/test/Jamfile.jam | 1 - slicer/test/included/Jamfile.jam | 8 ++------ slicer/tool/Jamfile.jam | 3 +-- slicer/xml/Jamfile.jam | 5 +---- 8 files changed, 13 insertions(+), 25 deletions(-) diff --git a/slicer/Jamfile.jam b/slicer/Jamfile.jam index b8bbceb..e149853 100644 --- a/slicer/Jamfile.jam +++ b/slicer/Jamfile.jam @@ -9,6 +9,12 @@ build-project ice ; build-project test ; lib adhocutil : : : : /usr/include/adhocutil ; +lib Ice++11 ; +lib pthread ; +alias Ice : : : : + Ice++11 + pthread + ; explicit install ; explicit install-xml ; diff --git a/slicer/db/Jamfile.jam b/slicer/db/Jamfile.jam index 44a583e..67226fb 100644 --- a/slicer/db/Jamfile.jam +++ b/slicer/db/Jamfile.jam @@ -7,16 +7,13 @@ lib dbpp-postgresql : : : : /usr/include/dbpp-postgresql ; lib boost_system ; lib boost_filesystem ; lib boost_utf : : boost_unit_test_framework ; -lib pthread ; -lib Ice++11 ; lib slicer-db : [ glob *.cpp : test*.cpp ] [ glob *.ice : test*.ice ] : .. - pthread - Ice++11 + ..//Ice dbppcore ../..//glibmm ..//adhocutil diff --git a/slicer/ice/Jamfile.jam b/slicer/ice/Jamfile.jam index 9cf244a..82e7427 100644 --- a/slicer/ice/Jamfile.jam +++ b/slicer/ice/Jamfile.jam @@ -1,8 +1,6 @@ import testing ; import package ; -lib pthread ; -lib Ice++11 ; lib boost_system ; lib boost_filesystem ; lib boost_utf : : boost_unit_test_framework ; @@ -13,8 +11,7 @@ lib slicer-ice : .. boost_system boost_filesystem - pthread - Ice++11 + ..//Ice ..//adhocutil ../slicer//slicer ../slicer//slicer diff --git a/slicer/slicer/Jamfile.jam b/slicer/slicer/Jamfile.jam index 60d28fb..c513768 100644 --- a/slicer/slicer/Jamfile.jam +++ b/slicer/slicer/Jamfile.jam @@ -1,7 +1,5 @@ import package ; -lib pthread ; -lib Ice++11 ; lib boost_system ; lib boost_filesystem ; @@ -9,8 +7,7 @@ lib slicer : [ glob *.cpp ] [ glob *.ice ] : - pthread - Ice++11 + ..//Ice boost_system ..//adhocutil .. diff --git a/slicer/test/Jamfile.jam b/slicer/test/Jamfile.jam index 3acd814..8984242 100644 --- a/slicer/test/Jamfile.jam +++ b/slicer/test/Jamfile.jam @@ -2,7 +2,6 @@ import testing ; import ./slicer.jam ; lib dl ; -lib pthread ; lib boost_system ; lib boost_filesystem ; lib boost_date_time ; diff --git a/slicer/test/included/Jamfile.jam b/slicer/test/included/Jamfile.jam index a0fcac6..309b24b 100644 --- a/slicer/test/included/Jamfile.jam +++ b/slicer/test/included/Jamfile.jam @@ -1,15 +1,11 @@ lib dl ; -lib pthread ; -lib Ice++11 ; lib included : included.ice : - pthread - Ice++11 + ../..//Ice : : - pthread - Ice++11 + ../..//Ice . ; diff --git a/slicer/tool/Jamfile.jam b/slicer/tool/Jamfile.jam index 5d0671f..2d22b55 100644 --- a/slicer/tool/Jamfile.jam +++ b/slicer/tool/Jamfile.jam @@ -1,6 +1,5 @@ import package ; -lib Ice++11 ; lib po : : boost_program_options ; lib boost_system ; lib boost_filesystem ; @@ -10,7 +9,7 @@ lib slicer-compiler : parser.cpp : slice//Slice - Ice++11 + ..//Ice++11 mcpp boost_system boost_filesystem diff --git a/slicer/xml/Jamfile.jam b/slicer/xml/Jamfile.jam index e98edd6..2886301 100644 --- a/slicer/xml/Jamfile.jam +++ b/slicer/xml/Jamfile.jam @@ -1,8 +1,6 @@ import testing ; import package ; -lib pthread ; -lib Ice++11 ; lib boost_system ; lib boost_filesystem ; lib boost_utf : : boost_unit_test_framework ; @@ -14,8 +12,7 @@ lib slicer-xml : .. boost_system boost_filesystem - pthread - Ice++11 + ..//Ice ../..//libxmlpp ..//adhocutil ../slicer//slicer -- cgit v1.2.3