Skip to content
  • Brad King's avatar
    Use cascading-if for per-config test and install code · 77ddb6a0
    Brad King authored
    When generating per-config blocks in test and install scripts replace
    the form
    
      IF()
        # config == A
      ENDIF()
      IF()
        # config == B
      ENDIF()
    
    with
    
      IF()
        # config == A
      ELSEIF()
        # config == B
      ELSE()
        # no config matches
      ENDIF()
    
    for clarity and to support the else() case cleanly.
    77ddb6a0