summaryrefslogtreecommitdiff
path: root/project2/Jamfile.jam
blob: 17764b37874eb8cc92194e1884b4f5b34e488250 (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
using gcc ;
import package ;

alias libxmlpp : : : :
	<cflags>"`pkg-config --cflags libxml++-2.6`"
	<linkflags>"`pkg-config --libs libxml++-2.6`" ;
alias libxslt : : : :
	<cflags>"`pkg-config --cflags libexslt`"
	<linkflags>"`pkg-config --libs libexslt`" ;

lib fcgi : : <name>fcgi ;
lib fcgi++ : : <name>fcgi++ ;
lib odbc : : <name>odbc ;
lib boost_regex : : <name>boost_regex ;
lib boost_filesystem : : <name>boost_filesystem ;
lib cgicc : : <name>cgicc ;
lib esmtp : : <name>esmtp ;
lib curl : : <name>curl ;

lib p2common :
	[ glob *.cpp ]
	:
	<library>../libmisc//misc
	<library>../libodbcpp//odbcpp
	<library>libxmlpp
	<library>libxslt
	<library>boost_regex
	<library>boost_filesystem
	<library>odbc
	<library>esmtp
	<library>curl
	;

exe p2web :
	[ glob cgi/*.cpp ] :
	<library>p2common
	<library>fcgi++
	<library>fcgi
	<library>cgicc
	;

exe p2console :
	[ glob console/*.cpp ] :
	<library>p2common
	;

explicit install ;
package.install install : : p2console p2web ;