From 556589d180eebcf76c528e8a2f7676dc52c65464 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 8 Mar 2018 08:34:57 +0000 Subject: Split the builds into the usual domain, api and service components --- Jamroot.jam | 1 - service/Jamfile.jam | 43 +++++++++++++++++++++++++++++++++++++------ site/Jamfile.jam | 5 +++-- 3 files changed, 40 insertions(+), 9 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index bd9f1d7..09a140e 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -24,7 +24,6 @@ build-project site ; 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 ; diff --git a/service/Jamfile.jam b/service/Jamfile.jam index 8f15002..7c0026c 100644 --- a/service/Jamfile.jam +++ b/service/Jamfile.jam @@ -7,10 +7,40 @@ lib dbpp-postgresql : : : : /usr/include/dbpp-postgresql ; lib dryice : : : : /usr/include/icetray ; lib curl ; -lib mirrorsearch : - [ glob *.cpp *.ice sql/*.sql : test.cpp ] +lib mirrorsearch-domain : + models.ice : yes + ..//Ice + ..//IceUtil + ..//pthread + ..//slicer + ..//adhocutil + : : + . + ; + +lib mirrorsearch-api : + api.ice + : + yes + ..//Ice + ..//IceUtil + ..//pthread + ..//slicer + mirrorsearch-domain + mirrorsearch-domain + : : + mirrorsearch-domain + mirrorsearch-domain + ; + +lib mirrorsearch-service : + [ glob *.cpp sql/*.sql : test.cpp ] + : + mirrorsearch-domain + mirrorsearch-api + mirrorsearch-api curl ..//adhocutil ..//dbppcore @@ -32,6 +62,8 @@ lib mirrorsearch : : : . ..//icetray + mirrorsearch-api + mirrorsearch-api ; path-constant me : . ; @@ -51,16 +83,15 @@ run test.cpp ..//adhocutil ..//boost_system ..//boost_filesystem - ..//netfs-api ..//IceUtil ..//Ice ..//IceBox ..//pthread dryice - mirrorsearch - mirrorsearch + mirrorsearch-service + mirrorsearch-service ; -package.install install : : : mirrorsearch ; +package.install install : : : mirrorsearch-service ; diff --git a/site/Jamfile.jam b/site/Jamfile.jam index 9f9f9fc..7bdba93 100644 --- a/site/Jamfile.jam +++ b/site/Jamfile.jam @@ -37,8 +37,8 @@ alias mirrorsearchsite : : yes : : - ../service//mirrorsearch - ../service//mirrorsearch + ../service//mirrorsearch-api + ../service//mirrorsearch-api icespider slicer-json . @@ -69,5 +69,6 @@ run boost_filesystem icespider-testing boost_unit_test_framework + ../service//mirrorsearch-service : testmirrorsearchsite ; -- cgit v1.2.3