Changeset 3301 for trunk/kBuild/units


Ignore:
Timestamp:
Nov 5, 2019, 12:07:00 PM (6 years ago)
Author:
bird
Message:

units/qt5.kmk: Pick up target INTERMEDIATES in the moc rules. Wasn't done earlier as it was complicated by the fact that we were adding the MOC output to the intermediates, creating circular dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/units/qt5.kmk

    r3284 r3301  
    807807                $(value _UNIT_QT5_MOC_HPP_CMDS_DEP) \
    808808                | \
    809                 $(orderdeps)
     809                $(orderdeps) $(my_target_intermediate_vars)
    810810        %$$(call MSG_TOOL,moc,$(target),$(source),$$@)
    811811        $(QUIET2)$(RM) -f $(out) $(more_output) $(maybe_output) $(dep)
     
    907907                $(value _UNIT_QT5_MOC_CPP_CMDS_DEP) \
    908908                | \
    909                 $(orderdeps)
     909                $(orderdeps) $(my_target_intermediate_vars)
    910910        %$$(call MSG_TOOL,moc,$(target),$(source),$$@)
    911911        $(QUIET2)$(RM) -f $(out) $(more_output) $(maybe_output) $(dep)
     
    10901090$(eval $(target)_INCS    += $(qtmocdir) $(qtuicdir))
    10911091
     1092# Since we add a lot of stuff to 2_INTERMEDIATES, we must exclude it from the intermediates
     1093# used by the rules we generate to avoid circular dependencies.
     1094local my_target_intermediate_vars := $(filter-out %_2_INTERMEDIATES$(CLOSEPAR),$(target_intermediate_vars))
     1095
    10921096# Deal with QT_MOCSRCS.
    10931097$(foreach source, \
Note: See TracChangeset for help on using the changeset viewer.