• Stephen Kelly's avatar
    QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. · 98093c45
    Stephen Kelly authored
    Transitively consume the property from linked dependents.
    Implement configuration-specific support by following the pattern
    set out for compile definitions and includes in cmQtAutoGenerators.
    Implement support for origin-tracking with CMAKE_DEBUG_TARGET_PROPERTIES.
    This is motivated by the needs of KDE, which provides a separate
    translation system based on gettext instead of the Qt linguist
    translation system. The Qt uic tool provides command line options
    for configuring the method used to translate text, and to add an
    include directive to the generated file to provide the method.
    Implement the interface to provide the uic options as a usage-requirement
    on the KI18n target, as designed for KDE.