summaryrefslogtreecommitdiff
path: root/site/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-06 19:43:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-06 19:43:22 +0000
commit3131fa0db3000fb5c944e3822361de6fe7bb1b82 (patch)
treeda0cfea27a5d0099eae95a1a1821b71b54afa644 /site/Jamfile.jam
parentInitial commit, WIP (diff)
downloadmirrorsearch-3131fa0db3000fb5c944e3822361de6fe7bb1b82.tar.bz2
mirrorsearch-3131fa0db3000fb5c944e3822361de6fe7bb1b82.tar.xz
mirrorsearch-3131fa0db3000fb5c944e3822361de6fe7bb1b82.zip
Add basic site setup
Diffstat (limited to 'site/Jamfile.jam')
-rw-r--r--site/Jamfile.jam73
1 files changed, 73 insertions, 0 deletions
diff --git a/site/Jamfile.jam b/site/Jamfile.jam
new file mode 100644
index 0000000..9f9f9fc
--- /dev/null
+++ b/site/Jamfile.jam
@@ -0,0 +1,73 @@
+import icespider ;
+import testing ;
+
+lib icespider-core ;
+lib icespider-common ;
+lib icespider-fcgi ;
+lib icespider-testing ;
+lib adhocutil ;
+lib Ice ;
+lib IceUtil ;
+lib pthread ;
+lib boost_system ;
+lib boost_filesystem ;
+lib slicer ;
+lib slicer-json ;
+lib slicer-db ;
+lib boost_unit_test_framework ;
+lib icespider : :
+ <name>icespider-core
+ : :
+ <include>/usr/include/icespider
+ <include>/usr/include/slicer
+ <include>/usr/include/adhocutil
+ <include>/usr/share/icespider/ice
+ <library>icespider-common
+ <library>adhocutil
+ <library>Ice
+ <library>IceUtil
+ <library>pthread
+ <library>slicer
+ <library>boost_system
+ <allow-ice>yes
+ ;
+
+alias mirrorsearchsite :
+ [ glob *.cpp *.ice *.json : test.cpp ]
+ :
+ <slicer>yes
+ : :
+ <library>../service//mirrorsearch
+ <implicit-dependency>../service//mirrorsearch
+ <library>icespider
+ <library>slicer-json
+ <include>.
+ ;
+
+exe mirrorsearch-cgi :
+ mirrorsearchsite
+ :
+ <slicer>yes
+ <library>icespider-fcgi
+ ;
+
+path-constant me : . ;
+obj test :
+ test.cpp
+ :
+ <define>BOOST_TEST_DYN_LINK
+ <define>ROOT=\"$(me)\"
+ <library>icespider-testing
+ <library>mirrorsearchsite
+ ;
+
+run
+ test
+ mirrorsearchsite
+ : : :
+ <slicer>yes
+ <library>boost_filesystem
+ <library>icespider-testing
+ <library>boost_unit_test_framework
+ : testmirrorsearchsite ;
+