Skip to content
  • Sebastian Holtermann's avatar
    Autogen: Backport autogen target dependency as file dependency fix · d0f15817
    Sebastian Holtermann authored and Brad King's avatar Brad King committed
    Target dependencies of the origin target were mistakenly forwarded to
    the _autogen target as *file* dependencies.  This patch introduces
    proper distinction between *target* and *file* dependencies of the
    _autogen target.
    
    This patch also changes when PRE_BUILD is used for AUTOGEN in the Visual
    Studio generator. Formerly PRE_BUILD was disabled when the origin target
    depended on *any* other target. Now PRE_BUILD is only disabled if a
    dependency of the _autogen target to an additional *file* is detected.
    
    Fixes: #17278, #17205
    d0f15817