summaryrefslogtreecommitdiff
path: root/project2/Jamfile.jam
blob: 6779ba8e2787a735280888ce8d0c9d4f53b08c08 (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
import package ;
import feature : feature ;

feature odbc : yes no : propagated ;
feature pq : yes no : propagated ;
feature mysql : yes no : propagated ;
feature sqlite : yes no : propagated ;

lib adhocutil : : : : <include>/usr/include/adhocutil ;

alias p2parts : : : :
	<library>url//p2url
	<library>files//p2files
	<library>processes//p2processes
	<library>sql//p2sql
	<library>mail//p2mail
	<library>regex//p2regex
	<library>xml//p2xml
	<library>ice//p2iceclient
	<library>json//p2json
	<library>compression//p2compression
	<library>streams//p2streams
	<library>basics//p2basics
	<odbc>yes:<library>sql//p2sqlmodODBC
	<pq>yes:<library>sql//p2sqlmodPQ
	<mysql>yes:<library>sql//p2sqlmodMySQL
	<sqlite>yes:<library>sql//p2sqlmodSQLite
	;

alias p2daemonparts : : : :
	<library>ice//p2icedaemon
	;

build-project console ;
build-project cgi ;
build-project daemon ;

# Ensure tests are run (final targets don't reference projects, but specific libraries)
build-project common//unittests ;
build-project basics//unittests ;
build-project ice//unittests ;
build-project sql//unittests ;
build-project xml//unittests ;
build-project files//unittests ;

explicit install ;
package.install install : : finalbin : finallib ;
package.install installheaders : <install-source-root>. : : : [ glob-tree *.h ] ;
package.install installheadersdb : : : : [ glob ../libdbpp/*.h ] ;