CPackIFWConfigureFile

From Get docs
Cmake/docs/3.21/module/cpackifwconfigurefile


CPackIFWConfigureFile

New in version 3.8.


The module defines configure_file() similar command to configure file templates prepared in QtIFW/SDK/Creator style.

Commands

The module defines the following commands:

cpack_ifw_configure_file

Copy a file to another location and modify its contents.

cpack_ifw_configure_file(<input> <output>)

Copies an <input> file to an <output> file and substitutes variable values referenced as %{VAR} or %VAR% in the input file content. Each variable reference will be replaced with the current value of the variable, or the empty string if the variable is not defined.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/module/CPackIFWConfigureFile.html