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

lib slicer : : : : <include>/usr/include/slicer ;
lib slicer-json : : : : <include>/usr/include/slicer ;
lib Ice : : <name>Ice++11 ;
lib jsonpp ;
lib pthread ;
lib stdc++fs ;
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>jsonpp
	<library>pthread
	<library>slicer
	<library>slicer-json
	<library>..//glibmm
	<library>curl
	<library>adhocutil
	<slicer>yes
	<include>.
	: :
	<include>.
	<library>Ice
	<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>stdc++fs
	<implicit-dependency>tmdb
	:
	testModels
	;

run
	testFormatUrls.cpp
	: : :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>tmdb
	<library>slicer
	<library>slicer-json
	<library>stdc++fs
	<implicit-dependency>tmdb
	:
	testFormatUrls
	;

run
	testCallMockApi.cpp
	: : :
	<define>BOOST_TEST_DYN_LINK
	<library>boost_utf
	<library>tmdb
	<library>slicer
	<library>slicer-json
	<library>stdc++fs
	<implicit-dependency>tmdb
	:
	testCallMockApi
	;