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 --- service/Jamfile.jam | 43 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) (limited to 'service') 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 ; -- cgit v1.2.3