OUTPUT_NAME — CMake 3.27.9 Documentation

# OUTPUT_NAME

Output name for target files.

This sets the base name for output files created for an executable or library target. If not set, the logical target name is used by default during generation. The value is not set by default during configuration.

Contents of `OUTPUT_NAME` and the variants listed below may use `generator expressions`.

See also the variants:

- `OUTPUT_NAME_<CONFIG>`

- `ARCHIVE_OUTPUT_NAME_<CONFIG>`

- `ARCHIVE_OUTPUT_NAME`

- `LIBRARY_OUTPUT_NAME_<CONFIG>`

- `LIBRARY_OUTPUT_NAME`

- `RUNTIME_OUTPUT_NAME_<CONFIG>`

- `RUNTIME_OUTPUT_NAME`