From 06c81989fa20590abf1f93fd36148a24d7e4ae36 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 14 Apr 2022 17:48:02 +0100 Subject: Build modeCheck.o only once --- netfs/daemon/Jamfile.jam | 9 ++++++++- netfs/unittests/Jamfile.jam | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/netfs/daemon/Jamfile.jam b/netfs/daemon/Jamfile.jam index 99c3234..447d2e8 100644 --- a/netfs/daemon/Jamfile.jam +++ b/netfs/daemon/Jamfile.jam @@ -24,8 +24,15 @@ lib netfsd-configuration : ..//slicer ; +obj modeCheck : modeCheck.cpp + : + ../ice//netfs-api + ../ice//netfs-api + ../lib//netfs-common + ; lib netfsd++11 : - [ glob *.cpp : daemonConfigImpl.cpp ] + [ glob *.cpp : modeCheck.cpp daemonConfigImpl.cpp ] + modeCheck : ../ice//netfs-api netfsd-configuration diff --git a/netfs/unittests/Jamfile.jam b/netfs/unittests/Jamfile.jam index 1cd7d84..736c370 100644 --- a/netfs/unittests/Jamfile.jam +++ b/netfs/unittests/Jamfile.jam @@ -91,7 +91,7 @@ run testFuse.cpp testCore ; -run testDaemon.cpp ../daemon/modeCheck.cpp +run testDaemon.cpp ../daemon//modeCheck : -- : : BOOST_TEST_DYN_LINK boost_utf -- cgit v1.2.3