Changeset 48295


Ignore:
Timestamp:
Aug 22, 2008, 7:16:07 PM (10 years ago)
Author:
René Rivera
Message:

Add build option to handle patch headers/sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/tools/build_extensions/ext/irrlicht.jam

    r47646 r48295  
    6565extension.option irrlicht tga-writer : enable disable ;
    6666
    67 rule init ( version ? : location : options * )
     67rule init ( version ? : location patches ? : options * )
    6868{
    6969    version ?= default ;
     
    7575        <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
    7676        ;
     77    local header-include = $(patches)/include $(location)/include ;
     78    local source-include = $(patches)/source $(location)/source $(location)/source/Irrlicht ;
    7779    local common-requirements =
    78         <include>$(location)/include
    79         <include>$(location)/source
     80        <include>$(header-include:J=&&)
     81        <include>$(source-include:J=&&)
     82        <target-os>windows:<define>_IRR_DONT_DO_MEMORY_DEBUGGING_HERE
    8083        <target-os>windows:<define>WIN32
    8184        <target-os>windows,<address-model>64:<define>WIN64
     
    269272        :   $(common-requirements)
    270273            <link>static:<define>_IRR_STATIC_LIB_
    271             <include>$(location)/source/Irrlicht
    272274        ;
    273275}
Note: See TracChangeset for help on using the changeset viewer.