Skip to content

Commit

Permalink
C-preprocessing-generator: fix missing relevant features (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kojoley committed Jul 18, 2023
1 parent dc40b50 commit fc1119d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/generators/c-preprocessing-generator.jam
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class C-preprocessing-generator : generator
{
return ;
}
# generator.construct-result adds relevant features for self.rule-name
# which is not the action rule that would be used...
local relevant = [ $(preprocessor[1]).get <relevant> ] ;
property-set = [ $(property-set).add-raw <relevant>$(relevant) ] ;
# Clone preprocessor action with our source and target
local preproc-action = [ $(preprocessor[2]).action ] ;
local action-class = [ modules.peek $(preproc-action) : __class__ ] ;
Expand Down

0 comments on commit fc1119d

Please sign in to comment.