blob: 70d9e88f0ce4fa349e2172e2aa59a4bf5bceddad (
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
|
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 ;
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
<library>lib//p2lib
<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 ;
explicit install installp2con installp2cgi installp2fcgi ;
package.install install : : console//p2console cgi//p2cgi cgi//p2fcgi daemon//p2daemon ;
package.install installp2con : : console//p2console ;
package.install installp2cgi : : cgi//p2cgi ;
package.install installp2fcgi : : cgi//p2fcgi ;
package.install installp2daemon : : daemon//p2daemon ;
package.install installheaders : <install-source-root>. : : : [ glob-tree *.h ] ;
package.install installheadersmisc : : : : [ glob ../libmisc/*.h : ../libmisc/threads.h ] ;
package.install installheadersdb : : : : [ glob ../libdbpp/*.h ] ;
|