Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70049 - trunk/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-03-17 05:05:50


Author: danieljames
Date: 2011-03-17 05:05:45 EDT (Thu, 17 Mar 2011)
New Revision: 70049
URL: http://svn.boost.org/trac/boost/changeset/70049

Log:
Quickbook: support cross compilation to windows.
Text files modified:
   trunk/tools/quickbook/src/Jamfile.v2 | 9 ++-------
   1 files changed, 2 insertions(+), 7 deletions(-)

Modified: trunk/tools/quickbook/src/Jamfile.v2
==============================================================================
--- trunk/tools/quickbook/src/Jamfile.v2 (original)
+++ trunk/tools/quickbook/src/Jamfile.v2 2011-03-17 05:05:45 EDT (Thu, 17 Mar 2011)
@@ -8,8 +8,6 @@
 # http://www.boost.org/LICENSE_1_0.txt)
 #==============================================================================
 
-import os ;
-
 project quickbook
     : requirements
         <toolset>gcc:<c++-template-depth>300
@@ -18,10 +16,7 @@
         <toolset>darwin:<cflags>-g0
     ;
 
-if [ os.name ] = NT
-{
- lib shell32 ;
-}
+lib shell32 ;
 
 exe quickbook
     :
@@ -57,5 +52,5 @@
       <toolset>msvc:<cxxflags>/wd4800
       <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
       <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
- <os>NT:<library>shell32
+ <target-os>NT:<library>shell32
     ;


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