summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-10-07 15:52:35 +0000
committerrandomdan <randomdan@localhost>2010-10-07 15:52:35 +0000
commit04d1a362b13894bf572a63bc0ae437a9e411f2a5 (patch)
tree2ac8c2f08d494160ac97bf22aed7623704540568
parentHandle null fields (diff)
downloadproject2-04d1a362b13894bf572a63bc0ae437a9e411f2a5.tar.bz2
project2-04d1a362b13894bf572a63bc0ae437a9e411f2a5.tar.xz
project2-04d1a362b13894bf572a63bc0ae437a9e411f2a5.zip
Used shared common library, add install rule
-rw-r--r--project2/Jamfile.jam46
1 files changed, 23 insertions, 23 deletions
diff --git a/project2/Jamfile.jam b/project2/Jamfile.jam
index ac82e15..17764b3 100644
--- a/project2/Jamfile.jam
+++ b/project2/Jamfile.jam
@@ -1,4 +1,5 @@
using gcc ;
+import package ;
alias libxmlpp : : : :
<cflags>"`pkg-config --cflags libxml++-2.6`"
@@ -16,34 +17,33 @@ lib cgicc : : <name>cgicc ;
lib esmtp : : <name>esmtp ;
lib curl : : <name>curl ;
-exe p2web :
- libxmlpp
- libxslt
+lib p2common :
[ glob *.cpp ]
- [ glob cgi/*.cpp ]
- ../libmisc
- ../libodbcpp :
- <include>../libmisc/
- <include>../libodbcpp/
+ :
+ <library>../libmisc//misc
+ <library>../libodbcpp//odbcpp
+ <library>libxmlpp
+ <library>libxslt
<library>boost_regex
+ <library>boost_filesystem
<library>odbc
<library>esmtp
- <library>cgicc
<library>curl
+ ;
+
+exe p2web :
+ [ glob cgi/*.cpp ] :
+ <library>p2common
<library>fcgi++
- <library>fcgi ;
+ <library>fcgi
+ <library>cgicc
+ ;
exe p2console :
- libxmlpp
- libxslt
- [ glob *.cpp ]
- [ glob console/*.cpp ]
- ../libmisc
- ../libodbcpp :
- <include>../libmisc/
- <include>../libodbcpp/
- <library>boost_regex
- <library>boost_filesystem
- <library>odbc
- <library>curl
- <library>esmtp ;
+ [ glob console/*.cpp ] :
+ <library>p2common
+ ;
+
+explicit install ;
+package.install install : : p2console p2web ;
+