Skip to content
  • Brad King's avatar
    CMP0026: Fix OLD behavior with file written during configure step · 5e616fcf
    Brad King authored
    Refactoring in commit 60307c50
    
     (cmGeneratorTarget: Replace source
    classifier implementation, 2017-04-07) accidentally regressed support
    for CMP0026's OLD behavior in the case of a source file written by
    project code during the configure step after getting a LOCATION.  We
    should not perform full source classification until the generate step
    because files written by the project's configure step may not exist yet.
    
    Add special logic to support this case.  Add a test case for it.
    
    Reported-by: default avatarDavid Stoup <david.stoup@kitware.com>
    5e616fcf