Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51003 - sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/acgi/cookie_game2
From: lists.drrngrvy_at_[hidden]
Date: 2009-02-03 19:01:20


Author: drrngrvy
Date: 2009-02-03 19:01:20 EST (Tue, 03 Feb 2009)
New Revision: 51003
URL: http://svn.boost.org/trac/boost/changeset/51003

Log:
Updating Jamfile.
Text files modified:
   sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/acgi/cookie_game2/Jamfile.v2 | 66 ++++++++++++++++++++++++++++++++++++---
   1 files changed, 60 insertions(+), 6 deletions(-)

Modified: sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/acgi/cookie_game2/Jamfile.v2
==============================================================================
--- sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/acgi/cookie_game2/Jamfile.v2 (original)
+++ sandbox/SOC/2007/cgi/branches/pickmeup/libs/cgi/example/acgi/cookie_game2/Jamfile.v2 2009-02-03 19:01:20 EST (Tue, 03 Feb 2009)
@@ -4,17 +4,71 @@
 # (See accompanying file LICENSE_1_0.txt or copy
 # at http://www.boost.org/LICENSE_1_0.txt)
 
-project boost/cgi/example/acgi/cookie_game ;
+project boost/cgi/example/acgi/cookie_game2 ;
 
-exe acgi_cookie_game : main.cpp /boost/regex/ ;
+
+import os ;
+
+if [ os.name ] = NT
+{
+ lib ctemplate : : <file>c:/cc/src/ctemplate/ctemplate-0.9/Release/libctemplate.lib ;
+}
+else
+{
+ lib ctemplate ;
+}
+
+
+exe acgi_cookie_game2
+ :
+ main.cpp
+ /boost/regex/
+ /boost/cgi/
+ :
+ <library>ctemplate
+ :
+ <linkflags>-lctemplate
+ ;
 
 # Our install rule (builds binaries and copies them to <location>)
-install install
- :
- acgi_cookie_game
- :
+install install-exe
+ :
+ acgi_cookie_game2
+ :
     <location>$(cgi-bin)
   ;
 
+install install-css
+ :
+ style.css
+ :
+ <location>$(htdocs)/css/
+ ;
+
+install install-js
+ :
+ main.js
+ :
+ <location>$(htdocs)/js/
+ ;
+
+install install-extra
+ :
+ index.html
+ :
+ <location>$(htdocs)/../templates/
+ ;
+
+explicit install-app ;
+explicit install-extra ;
+
+install install
+ :
+ install-exe
+ install-css
+ install-js
+ install-extra
+ ;
+
 # Only install example if you use `bjam install' or equivalent
 explicit install ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk