Browse files

* Jambase: Add option 'force' to UseModule.

This causes the module to load regardless of having been previously loaded.
  • Loading branch information...
1 parent cfe998f commit 8238982c7399181608732682ba2f409bcee42752 @jjensen jjensen committed Jan 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/Jambase.jam
View
3 bin/Jambase.jam
@@ -97,8 +97,7 @@ JAM_MODULES_PATH ?= @($(JAM_PROCESS_PATH)/../modules:R=) ;
rule UseModule MODULE_NAME : OPTIONS
{
local include_marker = included_module_$(MODULE_NAME:J=_) ;
- if $($(include_marker))
- {
+ if $($(include_marker)) && ! ( force in $(OPTIONS) ) {
return ;
}
$(include_marker) = true ;

0 comments on commit 8238982

Please sign in to comment.