diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-18 22:27:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-18 22:27:53 +0000 |
commit | 976d2cb47482efe0e348c6ab14a7c098a69a3dc7 (patch) | |
tree | c67e9ae8e34b0a86e9ff97ed080c60394dc8be4e | |
parent | Add rules for installing (diff) | |
download | gentoobrowse-976d2cb47482efe0e348c6ab14a7c098a69a3dc7.tar.bz2 gentoobrowse-976d2cb47482efe0e348c6ab14a7c098a69a3dc7.tar.xz gentoobrowse-976d2cb47482efe0e348c6ab14a7c098a69a3dc7.zip |
Refactor to produce just an executable, not a library as wellgentoobrowse-2.0.0_beta3
-rw-r--r-- | gentoobrowse/src/Jamfile.jam | 27 |
1 files 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 : : <allow-ice>yes ; -lib gentoobrowse : +alias gentoobrowse : [ glob *.cpp *.ice *.json : test.cpp ] : + <slicer>yes + : : <variant>release:<cxxflags>-flto=3 <variant>release:<linkflags>-flto=3 - <slicer>yes - <include>. <library>gentoobrowse-api <library>slicer-json <library>slicer-xml <library>icespider - : : - <library>icespider + <include>. ; exe gentoobrowse-cgi : gentoobrowse : - <library>gentoobrowse + <slicer>yes <library>icespider-fcgi - <link>shared ; path-constant me : . ; -run +obj test : test.cpp - : : : + : <define>BOOST_TEST_DYN_LINK <define>ROOT=\"$(me)\" - <library>boost_filesystem + <library>icespider-testing <library>gentoobrowse + ; + +run + test + gentoobrowse + : : : + <slicer>yes + <library>boost_filesystem <library>tidy <library>icespider-testing <library>boost_unit_test_framework : gentoobrowse-test ; + |