summaryrefslogtreecommitdiff
path: root/libtmdb/Jamfile.jam
blob: c8cf6b32fd0256343de2738a26ae615e7ad8ecfe (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
90
import testing ;

alias glibmm : : : :
	<cflags>"`pkg-config --cflags glibmm-2.4`"
	<linkflags>"`pkg-config --libs glibmm-2.4`"
	;
lib slicer : : : : <include>/usr/include/slicer ;
lib slicer-json : : : : <include>/usr/include/slicer ;
lib Ice ;
lib IceUtil ;
lib jsonpp ;
lib pthread ;
lib boost_system ;
lib boost_filesystem ;
lib curl ;
lib boost_utf : : <name>boost_unit_test_framework ;
lib adhocutil : : : : <include>/usr/include/adhocutil ;

lib tmdb :
	[ glob *.cpp *.ice : test*.cpp ] :
	<library>Ice
	<library>IceUtil
	<library>jsonpp
	<library>pthread
	<library>slicer
	<library>slicer-json
	<library>boost_system
	<library>glibmm
	<library>curl
	<library>adhocutil
	<slicer>yes
	: :
	<include>.
	<library>Ice
	<library>IceUtil
	<library>pthread
	;

path-constant me : . ;

run
	testModels.cpp
	: :
	samples/movie_550.json
	samples/searchMulti_bradPitt.json
	samples/searchMulti_breakingBad.json
	samples/tv_1396.json
	:
	<define>ROOT=\"$(me)\"
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>tmdb
	<library>slicer
	<library>slicer-json
	<library>boost_filesystem
	<library>boost_system
	<implicit-dependency>tmdb
	:
	testModels
	;

run
	testFormatUrls.cpp
	: : :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>tmdb
	<library>slicer
	<library>slicer-json
	<library>boost_filesystem
	<library>boost_system
	<implicit-dependency>tmdb
	:
	testFormatUrls
	;

run
	testCallMockApi.cpp
	: : :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>tmdb
	<library>slicer
	<library>slicer-json
	<library>boost_filesystem
	<library>boost_system
	<implicit-dependency>tmdb
	:
	testCallMockApi
	;