summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;
+