CetSetVersionFromFile¶
- cet_set_version_from_file¶
Set the version of the specified or current project from a file.
cet_set_version_from_file([<options>]...)
Options¶
EXTENDED_VERSION_SEMANTICS
Place code in CMake Config files to handle non-numeric version components.
NOP
Optional separator between a list option and non-option arguments; no other effect.
PROJECT
The project whose version is to be set. Defaults to the current project if not specified.
VERSION_FILE
The file from which to read the version. Defaults to
VERSION
if not specified.
Note
Leading and trailing whitespace will be trimmed, including any trailing newline.
New in version 3.04.