Takes a list of files, runs configure_file on each and installs the resultant configured files in the given location.

Any suffix of “.in” in the passed file names will be stripped from the file name at the installed location.

    INPUT <file> [<file2> [...]]
    [COMPONENT <component>])

Example usage:

ecm_install_configured_files(INPUT DESTINATION ${KDE_INSTALL_DATADIR} @ONLY)

This will install the file as foo.txt with any cmake variable replacements made into the data directory.

Since 5.73.0.