nextpnr/common/version.h.in
Tobias Müller 659c4fad56 Change version to git describe and make set-able from outside
Change version to use git describe instead of git log as this will also work
if tags are present and make the version string set-able from outside as a
parameter to cmake, so that package managers can set this if building outside
of a git working tree.
2020-01-11 11:38:45 +01:00

6 lines
93 B
C

#ifndef VERSION_H
#define VERSION_H
#define GIT_DESCRIBE_STR "@CURRENT_GIT_VERSION@"
#endif