Skip to content

cmake: add dirty flag to project version when repo is dirty while running cmake

Jens Kroeger requested to merge jekroege/corryvreckan:dirty_flag into master

The title says it all.

When looking at the project version of a compilation, this helps to identify that local changes have been made.

As pointed out by @simonspa in a personal conversation, this "mechanism" does not help when applying local changes but not rerunning cmake but only make.

Example:

Edited by Jens Kroeger

Merge request reports