summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/configure_file_copy.md
blob: fee04e435bbfe8eca513b9432b2d0a9b2bb01a38 (plain)
1
2
3
4
5
6
7
8
9
10
## New action 'copy' for configure_file()

In addition to `configuration:` and `command:`,
[`configure_file()`](#Reference-manual.md#configure_file) now accepts a keyword
argument `copy:` which specifies a new action: copying the file specified with
the `input:` keyword argument to a file in the build directory with the name
specified with the `output:` keyword argument.

These three keyword arguments are, as before, mutually exclusive. You can only
do one action at a time.