Skip to content

Commit

Permalink
Add tentative preprocess actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Jan 23, 2025
1 parent 5319265 commit 701078d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/tools/ibmcxx.jam
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ rule find-versions ( )
}

# Declare generators
generators.register-c-compiler ibmcxx.compile.c++.preprocess : CPP : PREPROCESSED_CPP : <toolset>ibmcxx ;
generators.register-c-compiler ibmcxx.compile.c.preprocess : C : PREPROCESSED_C : <toolset>ibmcxx ;
generators.register-c-compiler ibmcxx.compile.c++ : CPP : OBJ : <toolset>ibmcxx ;
generators.register-c-compiler ibmcxx.compile.c : C : OBJ : <toolset>ibmcxx ;

Expand Down Expand Up @@ -281,3 +283,13 @@ actions updated together piecemeal ibmcxx.archive
{
ar $(ARFLAGS) ru "$(<)" "$(>)"
}

actions ibmcxx.compile.c.preprocess bind PCH_FILE
{
"$(CONFIG_COMMAND)" -E $(OPTIONS) $(USER_OPTIONS) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}

actions ibmcxx.compile.c++.preprocess bind PCH_FILE
{
"$(CONFIG_COMMAND)" -E $(OPTIONS) $(USER_OPTIONS) -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I"$(STDHDRS)" -o "$(<)" "$(>)"
}

0 comments on commit 701078d

Please sign in to comment.