summaryrefslogtreecommitdiff
path: root/service/Jamfile.jam
blob: 7e1221b4357bc6fc58ea711ab91972cd0c32964c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import icetray ;
import testing ;

lib boost_utf : : <name>boost_unit_test_framework ;
lib dbpp-postgresql : : : : <include>/usr/include/dbpp-postgresql ;
lib dryice : : : : <include>/usr/include/icetray ;
lib curl ;

lib mirrorsearch-domain :
	models.ice
	:
	<slicer>yes
	<library>..//Ice
	<library>..//pthread
	<library>..//slicer
	<library>..//adhocutil
	: :
	<include>.
	;

lib mirrorsearch-api :
	api.ice
	ex.cpp
	:
	<slicer>yes
	<library>..//Ice
	<library>..//pthread
	<library>..//slicer
	<library>mirrorsearch-domain
	<implicit-dependency>mirrorsearch-domain
	: :
	<library>mirrorsearch-domain
	<implicit-dependency>mirrorsearch-domain
	;

lib mirrorsearch-service++11 :
	[ glob sql/*.sql ]
	apiImpl.cpp
	main.cpp
	uptr.cpp
	:
	<library>mirrorsearch-domain
	<library>mirrorsearch-api
	<implicit-dependency>mirrorsearch-api
	<library>curl
	<library>..//adhocutil
	<library>..//dbppcore
	<library>..//stdc++fs
	<library>..//boost_date_time
	<library>..//Ice
	<library>..//IceBox
	<library>..//pthread
	<library>..//icetray
	<library>..//slicer
	<library>..//slicer-db
	<library>..//glibmm
	<library>..//xml2
	<icetray.sql.namespace>MirrorSearch
	<icetray.sql.basedir>.
	<include>.
	: :
	<include>.
	<library>..//icetray
	<library>mirrorsearch-api
	<implicit-dependency>mirrorsearch-api
	;

path-constant me : . ;

run test.cpp
	: :
	data.sql
	schema.sql
	:
	<define>BOOST_TEST_DYN_LINK
	<library>..//stdc++fs
	<library>boost_utf
	<define>ROOT=\"$(me)\"
	<library>dbpp-postgresql
	<library>..//dbppcore
	<library>..//adhocutil
	<library>..//Ice
	<library>..//IceBox
	<library>..//pthread
	<library>dryice
	<library>mirrorsearch-service++11
	<implicit-dependency>mirrorsearch-service++11
;