summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-18 22:27:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-18 22:27:53 +0000
commit976d2cb47482efe0e348c6ab14a7c098a69a3dc7 (patch)
treec67e9ae8e34b0a86e9ff97ed080c60394dc8be4e
parentAdd rules for installing (diff)
downloadgentoobrowse-2.0.0_beta3.tar.bz2
gentoobrowse-2.0.0_beta3.tar.xz
gentoobrowse-2.0.0_beta3.zip
Refactor to produce just an executable, not a library as wellgentoobrowse-2.0.0_beta3
-rw-r--r--gentoobrowse/src/Jamfile.jam27
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 ;
+