Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-03-20 00:16:23


Author: grafik
Date: 2008-03-20 00:16:23 EDT (Thu, 20 Mar 2008)
New Revision: 43734
URL: http://svn.boost.org/trac/boost/changeset/43734

Log:
Ensure that the generated config header is included with msvc.
Text files modified:
   sandbox/tools/build_extensions/ext/irrlicht.jam | 14 +++++++++++++-
   1 files changed, 13 insertions(+), 1 deletions(-)

Modified: sandbox/tools/build_extensions/ext/irrlicht.jam
==============================================================================
--- sandbox/tools/build_extensions/ext/irrlicht.jam (original)
+++ sandbox/tools/build_extensions/ext/irrlicht.jam 2008-03-20 00:16:23 EDT (Thu, 20 Mar 2008)
@@ -166,7 +166,19 @@
         "#endif"
         : $(requirements)
         ;
- common-requirements += <implicit-dependency>IrrCompileConfig.h ;
+
+ extension.text irrlicht $(version)
+ : IrrCompileConfigPre.h
+ : ## format
+ "#include <IrrCompileConfig.h>"
+ : $(requirements)
+ <dependency>/ext/irrlicht//IrrCompileConfig.h
+ ;
+ common-requirements +=
+ <implicit-dependency>/ext/irrlicht//IrrCompileConfigPre.h
+ <dependency>/ext/irrlicht//IrrCompileConfigPre.h
+ <toolset>msvc:<cxxflags>"/FIIrrCompileConfigPre.h"
+ ;
     
     alias gl : : : :
         <target-os>windows,<irrlicht-opengl>enable:<find-shared-library>OpenGL32


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