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

feature uuid : boost ossp : propagated ;
feature odbc : yes no : propagated ;
feature pq : 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>json//p2json
	<library>compression//p2compression
	<library>streams//p2streams
	;

project
  : requirements
      <variant>release:<cflags>"-std=c++0x"
      <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++0x"
      <variant>debug:<linkflags>"-Wl,-z,defs"
	;

build-project console ;
build-project cgi ;

explicit install installp2con installp2cgi installp2fcgi ;
package.install install : : console//p2console cgi//p2cgi cgi//p2fcgi ;
package.install installp2con : : console//p2console ;
package.install installp2cgi : : cgi//p2cgi ;
package.install installp2fcgi : : cgi//p2fcgi ;