Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-05-30 00:54:22


Author: grafik
Date: 2008-05-30 00:54:22 EDT (Fri, 30 May 2008)
New Revision: 45933
URL: http://svn.boost.org/trac/boost/changeset/45933

Log:
Add define for OGLES, and make it possible to completely turns off the target device.
Text files modified:
   sandbox/tools/build_extensions/ext/irrlicht.jam | 11 +++++++++--
   1 files changed, 9 insertions(+), 2 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-05-30 00:54:22 EDT (Fri, 30 May 2008)
@@ -12,12 +12,12 @@
 
 extension.declare irrlicht ;
 
-extension.option irrlicht device : default sdl ;
+extension.option irrlicht device : default sdl disable ;
 extension.option irrlicht d3d9 : enable disable ;
 extension.option irrlicht opengl : enable disable ;
 extension.option irrlicht opengles : disable enable ;
 extension.option irrlicht software : enable disable ;
-extension.option irrlicht burnings-video : beatiful fast ultra-fast disable ;
+extension.option irrlicht burnings-video : beautiful fast ultra-fast disable ;
 extension.option irrlicht x11 : enable disable ;
 extension.option irrlicht x11-vidmode : enable disable ;
 extension.option irrlicht x11-randr : disable enable ;
@@ -99,8 +99,15 @@
         "#undef _IRR_USE_NON_SYSTEM_LIB_PNG_"
         "#undef _IRR_COMPILE_WITH_DIRECT3D_8_"
         
+ [ conditional <irrlicht-device>disable :
+ <>"#undef _IRR_USE_SDL_DEVICE_"
+ <>"#undef _IRR_USE_WINDOWS_DEVICE_"
+ <>"#undef _IRR_USE_LINUX_DEVICE_"
+ <>"#undef _IRR_USE_OSX_DEVICE_" ]
+
         <irrlicht-d3d9>disable:<>"#undef _IRR_COMPILE_WITH_DIRECT3D_9_"
         <irrlicht-opengl>disable:<>"#undef _IRR_COMPILE_WITH_OPENGL_"
+ <irrlicht-opengles>enable:<>"#define _IRR_COMPILE_WITH_OPENGLES_"
         <irrlicht-software>disable:<>"#undef _IRR_COMPILE_WITH_SOFTWARE_"
         [ conditional <irrlicht-burnigs-video>disable :
             <>"#undef _IRR_COMPILE_WITH_BURNINGSVIDEO_"


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