From 979d2c269a67462716b75bc1c2964e71d8c72540 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 5 Oct 2016 00:57:35 +0100 Subject: Build slicer bits for http into common --- icespider/common/Jamfile.jam | 10 ++++++++++ icespider/compile/Jamfile.jam | 6 +++--- icespider/core/Jamfile.jam | 4 ++-- icespider/fcgi/Jamfile.jam | 3 --- icespider/unittests/Jamfile.jam | 3 --- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/icespider/common/Jamfile.jam b/icespider/common/Jamfile.jam index 8eceefb..a3acf6b 100644 --- a/icespider/common/Jamfile.jam +++ b/icespider/common/Jamfile.jam @@ -1,13 +1,23 @@ lib adhocutil : : : : /usr/include/adhocutil ; +lib slicer : : : : /usr/include/slicer ; + +cpp http-slicer : + http.ice + : + pure + yes + ; lib icespider-common : [ glob-tree *.ice *.cpp : bin ] + http-slicer : adhocutil yes ..//pthread ..//Ice ..//IceUtil + slicer : : ..//pthread ..//Ice diff --git a/icespider/compile/Jamfile.jam b/icespider/compile/Jamfile.jam index 9b07429..986b3c3 100644 --- a/icespider/compile/Jamfile.jam +++ b/icespider/compile/Jamfile.jam @@ -8,7 +8,7 @@ lib Slice ; lib icespider-compile : [ glob-tree *.cpp : bin main.cpp ] - [ glob ../common/*.ice ] + ../common/routes.ice : pure yes @@ -18,7 +18,7 @@ lib icespider-compile : boost_system boost_filesystem Slice - ../common + ../common//icespider-common ../common ..//Ice ..//IceUtil @@ -26,7 +26,7 @@ lib icespider-compile : : : boost_system boost_filesystem - ../common + ../common//icespider-common ../common ; diff --git a/icespider/core/Jamfile.jam b/icespider/core/Jamfile.jam index 13ecc3d..a0df519 100644 --- a/icespider/core/Jamfile.jam +++ b/icespider/core/Jamfile.jam @@ -6,7 +6,7 @@ lib boost_filesystem ; lib icespider-core : [ glob-tree *.cpp : bin ] : - ../common + ../common//icespider-common adhocutil slicer boost_system @@ -14,6 +14,6 @@ lib icespider-core : ../common : : . - ../common + ../common//icespider-common ../common ; diff --git a/icespider/fcgi/Jamfile.jam b/icespider/fcgi/Jamfile.jam index cf0e7af..c607ed1 100644 --- a/icespider/fcgi/Jamfile.jam +++ b/icespider/fcgi/Jamfile.jam @@ -3,10 +3,7 @@ lib fcgi++ : : fcgi++ ; lib icespider-fcgi : [ glob-tree *.cpp : bin ] - ../common/http.ice : - pure - yes fcgi fcgi++ ..//core diff --git a/icespider/unittests/Jamfile.jam b/icespider/unittests/Jamfile.jam index 52e2c25..f5e8f2f 100644 --- a/icespider/unittests/Jamfile.jam +++ b/icespider/unittests/Jamfile.jam @@ -82,11 +82,8 @@ run run testFcgi.cpp ../fcgi/cgiRequestBase.cpp - ../common/http.ice : : : BOOST_TEST_DYN_LINK - pure - yes testCommon ../common//icespider-common ../core//icespider-core -- cgit v1.2.3