summaryrefslogtreecommitdiff
path: root/libtmdb/Jamfile.jam
blob: 8b6d24608402510196e1af0d1929aeef7b914477 (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
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 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
	<slicer>yes
	: :
	<include>.
	<library>Ice
	<library>IceUtil
	<library>pthread
	;

unit-test testModels :
	[ glob testModels.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
	;

unit-test testFormatUrls :
	[ glob 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
	;

unit-test testCallMockApi :
	[ glob 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
	;