From 976d2cb47482efe0e348c6ab14a7c098a69a3dc7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 18 Jan 2017 22:27:53 +0000 Subject: Refactor to produce just an executable, not a library as well --- gentoobrowse/src/Jamfile.jam | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/gentoobrowse/src/Jamfile.jam b/gentoobrowse/src/Jamfile.jam index 7276226..8cfc295 100644 --- a/gentoobrowse/src/Jamfile.jam +++ b/gentoobrowse/src/Jamfile.jam @@ -48,38 +48,45 @@ lib icespider : : yes ; -lib gentoobrowse : +alias gentoobrowse : [ glob *.cpp *.ice *.json : test.cpp ] : + yes + : : release:-flto=3 release:-flto=3 - yes - . gentoobrowse-api slicer-json slicer-xml icespider - : : - icespider + . ; exe gentoobrowse-cgi : gentoobrowse : - gentoobrowse + yes icespider-fcgi - shared ; path-constant me : . ; -run +obj test : test.cpp - : : : + : BOOST_TEST_DYN_LINK ROOT=\"$(me)\" - boost_filesystem + icespider-testing gentoobrowse + ; + +run + test + gentoobrowse + : : : + yes + boost_filesystem tidy icespider-testing boost_unit_test_framework : gentoobrowse-test ; + -- cgit v1.2.3