|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2008-08-22 15:16:07
Author: grafik
Date: 2008-08-22 15:16:07 EDT (Fri, 22 Aug 2008)
New Revision: 48295
URL: http://svn.boost.org/trac/boost/changeset/48295
Log:
Add build option to handle patch headers/sources.
Text files modified:
sandbox/tools/build_extensions/ext/irrlicht.jam | 10 ++++++----
1 files changed, 6 insertions(+), 4 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-08-22 15:16:07 EDT (Fri, 22 Aug 2008)
@@ -64,7 +64,7 @@
extension.option irrlicht psd-writer : enable disable ;
extension.option irrlicht tga-writer : enable disable ;
-rule init ( version ? : location : options * )
+rule init ( version ? : location patches ? : options * )
{
version ?= default ;
local requirements =
@@ -74,9 +74,12 @@
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
;
+ local header-include = $(patches)/include $(location)/include ;
+ local source-include = $(patches)/source $(location)/source $(location)/source/Irrlicht ;
local common-requirements =
- <include>$(location)/include
- <include>$(location)/source
+ <include>$(header-include:J=&&)
+ <include>$(source-include:J=&&)
+ <target-os>windows:<define>_IRR_DONT_DO_MEMORY_DEBUGGING_HERE
<target-os>windows:<define>WIN32
<target-os>windows,<address-model>64:<define>WIN64
[ conditional <target-os>windows :
@@ -268,6 +271,5 @@
:
: $(common-requirements)
<link>static:<define>_IRR_STATIC_LIB_
- <include>$(location)/source/Irrlicht
;
}
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