diff options
-rw-r--r-- | project2/Jamfile.jam | 46 |
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 ; + |